@Michael01 wrote:
I would like to toggle between “open-street-map” and “satellite” in my map plot layout view, is there a way just to change the layout from the Scattermapbox plot?
In my first callback, I do a SQL query make data frame then plot a map.
fig_map.update_layout(mapbox_style="satellite", mapbox_accesstoken=map_token)
If I have to redo the whole callback should I store my SQL query in a cache instead?
Posts: 3
Participants: 3