mapbox / mapbox/mapboxgl-jupyter

Support multiple layers in a map visualization

Open
#34 18 comments 6 reactions 1 assignee View on GitHub

@akacarlyann is already working on this.

Since Jun 22, 2019.

enhancement help wanted high priority
Dominant language
Python
Stars
681
Forks
137
PR merge metrics
No merged PRs in 30d

Description

# Problem

As we add more visualization types, it will be useful to pull in multiple visualization layers into the same visualization. To do this, we'll need an API to `addLayer` to an existing visualization.

For example, users may want to create a `heatmap` visualization at low zoom levels, and a `graduatedCircle` visualization at high zoom levels.

A user may also want to add two or more layers to a map from different data sources.

# Implementation

- [x] Add `minZoom` and `maxZoom` properties to each viz type
- [ ] Create `addLayer` function to add a layer to an existing viz object

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.