Navigate a map view

The area of the map that is visible to a user is specified by the map's initial viewpoint (initialViewpoint). The user can explore different areas of the map by panning, zooming, or rotating, using a range of gestures that are built-in to the map view.

User gestures

Below are the map view's gestures that are provided for every iOS device. Each of these gestures will change the map view's viewpoint. You can use MapView.onViewpointChanged(kind:perform:) closure to perform an action when the viewpoint has changed.

NavigationUser ActionKey Action (on iOS and Mac Catalyst)
Zoom inTwo finger pinch open
Single finger double-tap
= / ⌥↑
Zoom outTwo finger pinch close
Two finger single-tap
- / ⌥↓
Continuous zoom in / outSingle finger double-tap, ending in a vertical up/down dragN/A
Move/PanSingle finger drag or flick↑, ↓, ←, →
Rotate the sceneTwo finger rotate⌥← for left
⌥→ for right
Rotate to NorthN/A⌘0 / ⌘↑

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close