• Material
  • Fabric
  • Bootstrap
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse

Chart

This sample depicts the zooming and panning options in the maps. You can customize these options by changing the Zooming, Mouse wheel zoom, Pinch zoom, Single-click zoom, and Double-click zoom in the Properties panel.

DEMO
SOURCE
Zooming
Mouse wheel zoom
Pinch zoom
Single click zoom
Double click zoom
Animation duration
500 ms

In this example, you can see how to zoom and pan the map. The support has been provided for zooming with toolbar, rectangle zoom, pinch zoom, mouse wheel zoom, single-click and double-click zoom.


Injecting Module

Maps component features are segregated into individual feature-wise modules. To use the zooming feature, inject the zoom module using the Maps.Inject(zoom) method.