Navigate a map view
When you add a map to your application, you can automatically pan, zoom, and rotate the map using the keyboard, mouse, or touch. The following table lists the set of predefined touch, mouse, and keyboard shortcuts that are enabled by default:
Navigation | Mouse | Touch |
---|---|---|
Pan | • Hold left button and drag | • Drag ![]() • Flick ![]() |
Zoom in | • Scroll wheel forward • Hold the Shift key and drag a rectangle with the left or right mouse button | • Spread ![]() |
Zoom out | • Scroll wheel backward • Hold the Shift+Ctrl keys and drag a rectangle using the left or right mouse button | • Pinch ![]() |
Rotate | • Hold right button and drag | • N/A |