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 was archived by the owner on Aug 8, 2023. It is now read-only.
I have been hearing about the feature that developers want to limit the viewport for the end-user.
Sample use-case:
Create a tourist application for NYC, users are restricted to:
move the map in NYC area
only allowed to zoom between 8 - 14 level
tilt is limited to only 20 degrees.
API:
This will result in exposing a similar API as the old raster API:
setScrollableAreaLimit() // definition ready
setMinZoom() // implemented
setMaxZoom() // implemented
setMinTilt()
setMaxTilt()
iOS is currently thinking about implementing #2457, which will work similar to the rotation snap-back animation we currently have at very low zoom levels.
I have been hearing about the feature that developers want to limit the viewport for the end-user.
Sample use-case:
Create a tourist application for NYC, users are restricted to:
API:
This will result in exposing a similar API as the old raster API:
iOS is currently thinking about implementing #2457, which will work similar to the rotation snap-back animation we currently have at very low zoom levels.