Back to Devexpress

TdxCustomMapControl.ZoomAsync(Double) Method

vcl-dxmapcontrol-dot-tdxcustommapcontrol-dot-zoomasync-x28-system-dot-double-x29.md

latest1.8 KB
Original Source

TdxCustomMapControl.ZoomAsync(Double) Method

Asynchronously zooms the map to a specified level with animation.

Declaration

delphi
procedure ZoomAsync(AZoomLevel: Double);

Parameters

NameType
AZoomLevelDouble

Remarks

Unlike Zoom, ZoomIn, ZoomOut, ZoomToFitItems, ZoomToFitLayerItems, and ZoomToGeoRect, this method performs asynchronous zooming and maintains the application’s responsiveness. End-user zoom functionality is always asynchronous.

AZoomLevel specifies the new zoom level to be assigned to the ZoomLevel property. Refer to the property description to learn how the map control responds to property value changes.

Note

Asynchronous zooming is animated, regardless of the map control’s OptionsBehavior.Animation property setting.

See Also

TdxCustomMapControl.OnZoomLevelChanged

TdxCustomMapControl.OnZoomLevelChanging

TdxCustomMapControl Class

TdxCustomMapControl Members

dxMapControl Unit