Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomMapControl.OnZoomLevelChanging Event

In This Article

Enables you to prohibit the map control from zooming in/out.

#Declaration

Delphi
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