Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Current implementation
- Adds the optional parameters map_style, and map_provider as data members to the pdk map object.
eg: map_p.map_style = map_style
- The current behavior of PyDeck doesn't update the map object with the additional configuration added via data members.
Behavior of PyDeck
- The default map_style is 'dark' and map_provider is 'carto'. If you configure map_style to 'satellite' it will not change the map_provider to Mapbox or Google Maps API.
Changes
- Expose api_key parameter of PyDeck
- Create a new method to create the PyDeck object to handle the default behavior of PyDeck.
- Default to Mapbox map provider if the map_style is set to 'satellite' and if map_provider is Carto (the default).
Attachments
Issue Links
- links to