Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

#Declaration

public void Zoom(
    double zoomLevel,
    Point anchorPoint
)

#Parameters

Name Type Description
zoomLevel Double

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

anchorPoint Point

An anchor point.

#Remarks

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

See Also