mapbox-maps-android icon indicating copy to clipboard operation
mapbox-maps-android copied to clipboard

Add a data join example

Open pjleonard37 opened this issue 3 years ago • 4 comments

New Example

Description of the feature being requested and any outcomes desired, an example use case, and any suggestions for solution

I propose adding a new example which shows developers how to join local JSON data with vector tile geometries and style it using the match expression. This is a fairly common use case for developers working in data visualization to create choropleth maps like below (from this GL JS example). Screen Shot 2022-02-08 at 8 40 04 AM

Why

1-2 sentence description of why you're requesting this feature. What problem does it solve? Why is it valuable?

Both the iOS and GL JS projects have examples which show this functionality (links below). I propose adding such an example to Android for parity.
https://docs.mapbox.com/mapbox-gl-js/example/data-join/ https://github.com/mapbox/mapbox-maps-ios/blob/main/Apps/Examples/Examples/All%20Examples/DataJoinExample.swift

pjleonard37 avatar Feb 08 '22 13:02 pjleonard37

PR has merged. Can this be closed @pjleonard37 @ZiZasaurus

knov avatar Feb 22 '22 19:02 knov

I think this one was opened to track the android version of this example. The example that merged was for iOS. @pjleonard37 please correct me if I'm wrong.

ZiZasaurus avatar Feb 22 '22 19:02 ZiZasaurus

That's correct - this issue tracks the Android version of the example.

pjleonard37 avatar Feb 22 '22 20:02 pjleonard37