When using the instance.zoomToVectors() and instance.zoomToLayer() methods, there is currently no control over the maximum zoom level. When the vector/layer contains a single point this results in a zoom that is far too close to be useful, forcing the user to manually zoom out to see where they are. This isn't as much of an issue with line/polygon geometries, which are more common.
When using the
instance.zoomToVectors()andinstance.zoomToLayer()methods, there is currently no control over the maximum zoom level. When the vector/layer contains a single point this results in a zoom that is far too close to be useful, forcing the user to manually zoom out to see where they are. This isn't as much of an issue with line/polygon geometries, which are more common.