provide parameter to set lat/long ranges of current view with tile maps
Hello Plotly Team!
I have a feature request for the tile-maps. As a worked on Figure Friday week 35 with the people map dataset, I noticed that it is currently quite hard to set the lat/lon ranges to have a nice view of the map, specially if we want a responsive app or if the data changes.
Currently, if I didn't miss the right parameters , we can use the layout params map_center + map_zoom, like:
map={
'center': {'lat': 40, 'lon': -115},
'zoom': 3,
},
Is it possible to have a parameter similar to: https://plotly.com/python/reference/layout/#layout-map-bounds to set the lat/lon ranges of the current view, not the min/max?
And maybe it would be also nice to have a parameter similar to https://plotly.com/python/reference/layout/geo/#layout-geo-fitbounds used for the geo maps (outline maps), to auto set the ranges to fit the traces data of the figure.