TdxCustomMapControl.OnZoomLevelChanging Event
Enables you to prohibit the map control from zooming in/out.
Declaration
property OnZoomLevelChanging: TdxMapControlZoomLevelChangingEvent read; write;
Remarks
This event fires when the ZoomLevel property value is about to be modified.
Sender specifies the map control.
ANewZoomLevel specifies the new zoom level to be assigned to the ZoomLevel property.
AAllow specifies whether zooming is allowed. Set AAllow to False to prevent zooming and modifying the ZoomLevel property value. Otherwise, the OnZoomLevelChanged event fires after the OnZoomLevelChanging event in response to zooming in/out.
See Also