Closed kaijagahm closed 3 years ago
If you zoom in on the map and then switch to a different sentence, it resets the zoom.
This link (https://stackoverflow.com/questions/34985889/how-to-get-the-zoom-level-from-the-leaflet-map-in-r-shiny) has a solution to that, but it uses slightly more advanced reactivity than I want to get into right this second. Come back to this.
Zoom now stays when you switch to a different sentence.
Now this means that I need to add a "reset" button. Or perhaps reset the zoom when you toggle between tabs?
If you zoom in on the map and then switch to a different sentence, it resets the zoom.
This link (https://stackoverflow.com/questions/34985889/how-to-get-the-zoom-level-from-the-leaflet-map-in-r-shiny) has a solution to that, but it uses slightly more advanced reactivity than I want to get into right this second. Come back to this.