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

MapControl.Zoom(Double, Point) Method

In This Article

Zooms a map at the specified anchor point with the defined zoom level.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v24.2.dll

NuGet Package: DevExpress.Wpf.Map

#Declaration

public void Zoom(
    double zoomLevel,
    Point anchorPoint
)

#Parameters

Name Type Description
zoomLevel Double

A double value specifying a new zoom level.

anchorPoint Point

A Point specifying an anchor point to which the map should be zoomed.

See Also