ThinkGeo.com    |     Documentation    |     Premium Support

How to know when map is zooming?

Hi,

Is there some way to get indication if user is using mouse wheel to zoom map ?

Basically we would need information when zooming is started and when map is loaded/ready after zooming.

Br, Simo

Hi Simo,

Check out the demo code below:

 // The following event will be raised when the wheel zooming started
 mapView.ExtentOverlay.MapMouseWheel += ExtentOverlay_MapMouseWheel;
 
  // The following event will be raised when an overlay finished drawing
 overlay.Drawn += _backgroundOverlay_Drawn;

 // The following event will be raised when all the overlays finished drawing
 mapView.OverlaysDrawn += MapView_OverlaysDrawn;

Thanks,
Ben

1 Like