Choropleth management and configuration:-
https://plot.ly/~empet/14692/mapbox-cho ... th-plotly/#/
Handling dash maps
-
- Site Admin
- Posts: 2449
- Joined: Wed 25 Feb 25 2009 8:00 pm
Re: Handling dash maps
For polygons (Choropleth style) in scattermapbox, you will need to define an array to submit as layers. This arrange will consist of one layer per polygon defined according to the following:-
https://plot.ly/python/filled-area-on-mapbox/
In the case of geometries retrieved from onemapsg, these need to be converted into actual json objects:-
https://stackoverflow.com/questions/452 ... ing-python
https://plot.ly/python/filled-area-on-mapbox/
In the case of geometries retrieved from onemapsg, these need to be converted into actual json objects:-
https://stackoverflow.com/questions/452 ... ing-python