-
Notifications
You must be signed in to change notification settings - Fork 27
Description
On selecting a result, the map will move to the supplied bbox by default if present.
However, sometimes the bbox can be very small, e.g. a part of a street.
It would be useful if there was a maxZoom
option to prevent flying in extremely closely. For instance, in the case of a small street, being flown into zoom 19 is unhelpful because there is no visual context as to where that street is.
Although there is a zoom
option, this is essentially a brute-force option, resulting a specific zoom that will be the same for e.g. an entire country vs a minor street.
While the map as a whole can have maxZoom, that often needs to be a different setting - a user may want to zoom closely into the map to examine a section, but for the purposes of a geocoding result, such closeness is by contrast not helpful.