The requested page is not available for the requested platform. You are viewing the content for Default platform.

MapControl.Zoom(Double, Point) Method

Zooms a map to the specified level around the specified anchor point.

Namespace: DevExpress.UI.Xaml.Map

Assembly: DevExpress.UI.Xaml.Map.v19.1.dll


public void Zoom(
    double zoomLevel,
    Point anchorPoint
Public Sub Zoom(
    zoomLevel As Double,
    anchorPoint As Point


Name Type Description
zoomLevel Double

An integer value specifying the level to which a map should be zoomed.

anchorPoint Point

An anchor point.


To verify whether or not it is possible to zoom a map, call the MapControl.CanZoom method before calling the Zoom method.

See Also