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
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
When setting the zoom level programmatically, Transform::setLatLngZoom and the subsequent Transform::_setScaleXY do not check if the zoom level is sane.
In iOS, it's possible to set mapView.zoomLevel = 21.f and it will render the map, even though the maximum zoom level via gestures is z18. Values higher than 21.9f break rendering but are settable. Using a zoom gesture will pop the map back to z18.
Here is one solution that works, but I get the feeling that Transform::_setScaleXY is the right place to do this, not Transform::setLatLng:
When setting the zoom level programmatically,
Transform::setLatLngZoom
and the subsequentTransform::_setScaleXY
do not check if the zoom level is sane.In iOS, it's possible to set
mapView.zoomLevel = 21.f
and it will render the map, even though the maximum zoom level via gestures isz18
. Values higher than21.9f
break rendering but are settable. Using a zoom gesture will pop the map back toz18
.Here is one solution that works, but I get the feeling that
Transform::_setScaleXY
is the right place to do this, notTransform::setLatLng
:/cc @kkaefer
The text was updated successfully, but these errors were encountered: