mapbox / mapbox/mapbox-maps-android

Add a data join example

Open
#1,127 4 comments 0 reactions 1 assignee View on GitHub

@pjleonard37 is already working on this.

Since Feb 8, 2022.

auto-triaged docs :scroll:
Dominant language
Kotlin
Stars
578
Forks
161
PR merge metrics
No merged PRs in 30d

Description

## 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](https://docs.mapbox.com/mapbox-gl-js/example/data-join/)).
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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.