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 | Keyboard |
---|---|---|---|
Pan | • Hold left button and drag | • Drag • Flick | • ←↑→↓ : Move the map in the direction of the arrow |
Zoom in | • Scroll wheel forward • Hold the Shift key and drag a rectangle with the left or right mouse button | • Spread | • + : Zoom in on the view center |
Zoom out | • Scroll wheel backward • Hold the Shift+Ctrl keys and drag a rectangle using the left or right mouse button | • Pinch | • - : Zoom out from the view center |
Rotate | • Hold right button and drag | • N/A | • N/A |