You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Currently the max zoom level is set at 15 when clicking on a location. Suggest to use option like:
{
maxZoom: Math.max(15, this.map.getZoom())
}
The text was updated successfully, but these errors were encountered:
Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.
I'm submitting a ...
Do you want to request a feature or report a bug?
A bug. (I would say an enhancement but that seems not to be an option here)
What is the current behavior?
When a location is clicked, the map zooms to level 15 disregarding current zoom level.
The map should focus on the new location without zooming out.
When user zooms in a location, the user is interested in the surrounding area. When he clicks on a nearby location, the map shouldn't zoom out.
Since the high risk locations is dense already, zooming out will present the users with even denser locations. User often has to zoom back in.
Please tell us about your environment:
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
Currently the max zoom level is set at 15 when clicking on a location. Suggest to use option like:
The text was updated successfully, but these errors were encountered: