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 center button and drag | • Spread |
Zoom out | • Scroll wheel backward • Hold center button and drag | • Pinch |
Rotate | • Hold right button and drag | • Multiple finger hold and twist |