Repository navigation
1.49 Mapbox features #1412
Description
Activity
choroplethmapbox- Simple mock: https://rreusser.github.io/plotly-mock-viewer/#mapbox_choropleth0
- Mock with
geojsonset as{/* geojson object /*}: https://rreusser.github.io/plotly-mock-viewer/#mapbox_choropleth-raw-geojson - Mock with multiple
choroplethmapboxtraces: https://rreusser.github.io/plotly-mock-viewer/#mapbox_choropleth-multiple
densitymapbox- Simple mock: https://rreusser.github.io/plotly-mock-viewer/#mapbox_density0
- Multiple
densitymapboxtraces: https://rreusser.github.io/plotly-mock-viewer/#mapbox_density-mulitple densitymapboxwith "real" data: https://rreusser.github.io/plotly-mock-viewer/#mapbox_earthquake-density (essentially a remake of https://docs.mapbox.com/mapbox-gl-js/example/heatmap-layer/)
New
mapbox.stylevaluesopen-street-map: https://rreusser.github.io/plotly-mock-viewer/#mapbox_osm-stylestaman-*styles: https://rreusser.github.io/plotly-mock-viewer/#mapbox_stamen-stylecarto-*styles: https://rreusser.github.io/plotly-mock-viewer/#mapbox_carto-style
nicolaskruchten commented
on Jul 26, 2019 ContributorAuthorMore actionsNew JS pages, say 2 examples each (simple and complicated): lines on a mapbox, filled areas on a mapbox, density on a mapbox, choropleth on a mapbox
New JS page: mapbox overview...
- explanation of layers (style, data, layers), explanation of relationship to Mapbox.js vs Mapbox tile service
- clear explanation of when a mapbox token is and is not required, and how to set it (either in the mapbox layout object or via configuration)
- explanation of attribution
- example of various styles (non-mapbox, mapbox)
- links to the 5 data pages (scatter, line, area, choropleth, density)
- examples of layers (environment Canada layer) based on https://codepen.io/nicolaskruchten/pen/BgbxQG?editors=0010
- density mapbox Introducing densitymapbox traces plotly.js#3993
- coropleth mapbox: Introducing choroplethmapbox traces plotly.js#3988
- new mapbox style values mapbox: add shortcuts to additional tilesets plotly.js#4068 , mapbox-gl@1.0.0 + improvements plotly.js#3987
- support for source type and for mapbox layout layer Add support for raster and image mapbox layers plotly.js#4006
- added attributes Better mapbox trace / layout-layer *below* plotly.js#4058, mapbox: add attributions plotly.js#4069
Here's the codepen listing all the layers for all the
layout.mapbox.stylevalues:https://codepen.io/etpinard/pen/ydVMwM , open the console and wait ~30 seconds.
Let me know if you have any questions.
For choropleth examples, we'll need examples that include GeoJSON files rather than URLs for the folks in the community that don't have public internet access or are building apps that can't depend on 3rd party services/urls.
we'll need examples that include GeoJSON files rather than URLs for the folks in the community that don't have public internet access or are building apps that can't depend on 3rd party services/urls.
example: https://rreusser.github.io/plotly-mock-viewer/#mapbox_choropleth-raw-geojson
@etpinard fill in some links to mocks, codepens please