Closed cromanpa94 closed 1 year ago
Here's some relevant information on this, @rog-SARTHAK: https://leafletjs.com/examples/zoom-levels/
Addressed with the zoomSnap argument in this commit: https://github.com/cromanpa94/OSM.sf.shiny/commit/7c111ec8e757f9db3314976dbf7fd9f7cc9ceacf.
Note that the
custom
scale should only allow for a particular range. For instance, it seems that anything >20 has the same zoom level. I don't think that negative values should be allowed either. Consider adding these constrains to the definition of the inputs. I'm referring to this commit: https://github.com/cromanpa94/OSM.sf.shiny/commit/83596e8b43a820545c79eed49ac6d13ca5663d26.