TdxCustomMapControl.ZoomAsync(Double) Method
Asynchronously zooms the map to a specified level with animation.
Declaration
procedure ZoomAsync(AZoomLevel: Double);
Parameters
Name | Type |
---|---|
AZoomLevel | Double |
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