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.Zoom(Double,Boolean) Method

Zooms the map to a specified level with optional animation.

#Declaration

Delphi
procedure Zoom(AZoomLevel: Double; AAnimated: Boolean); overload;

#Parameters

Name Type
AZoomLevel Double
AAnimated Boolean

#Remarks

This method assigns AZoomLevel to the ZoomLevel property. Refer to the property description to learn how the map control responds to property value changes.

Use the AAnimated parameter to control if zooming is animated. This parameter value overrides the map control’s OptionsBehavior.Animation property setting.

Note

If you are using external controls to change the zoom level, we recommend that you call the ZoomAsync method to keep your application responsive.

See Also