Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Express px.scatter_mapbox - Possible to refresh data but maintain zoom and position?

$
0
0

Hello everyone.

I am using a px.scatter_mapbox object as part of a Dash dashboard. The map is set to refresh on changes to the input data. This causes the map to redraw with the original zoom level and position. Is there any way to capture the map’s current zoom and position so I can pass it to the new px object, so it looks like we are just updating the data, and not reset to the original zoom level? Would go.scattermapbox work any better for this application?

Thanks

7 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles