windowsforms-devexpress-dot-xtramap-dot-mapcontrol-dot-zoom-x28-system-dot-double-x29.md
Zooms a map to the specified level.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
public void Zoom(
double zoomLevel
)
Public Sub Zoom(
zoomLevel As Double
)
| Name | Type | Description |
|---|---|---|
| zoomLevel | Double |
A double value specifying the level to which a map should be zoomed.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Zoom(Double) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
map-for-winforms-azure-routing/CS/Form1.cs#L47
waypointsListBoxControl.DataSource = geoPoints;
mapControl.Zoom(6);
mapControl.SetCenterPoint(new GeoPoint(40.714627, -74.002863), false);
map-for-winforms-azure-routing/VB/Form1.vb#L41
waypointsListBoxControl.DataSource = geoPoints
mapControl.Zoom(6)
mapControl.SetCenterPoint(New GeoPoint(40.714627, -74.002863), False)
See Also