Handling dash maps

Stuff I am working on
Post Reply
Daniel Wee
Site Admin
Posts: 2186
Joined: Wed 25 Feb 25 2009 8:00 pm

Handling dash maps

Post by Daniel Wee » Sat 02 Nov 02 2019 3:12 pm

Choropleth management and configuration:-

https://plot.ly/~empet/14692/mapbox-cho ... th-plotly/#/
Daniel Wee
Site Admin
Posts: 2186
Joined: Wed 25 Feb 25 2009 8:00 pm

Re: Handling dash maps

Post by Daniel Wee » Sat 02 Nov 02 2019 6:50 pm

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
Post Reply