Property MapScale
MapScale
Gets the scale of the MapView.
Declaration
public double MapScale { get; }
Property Value
Type | Description |
---|---|
System.Double | The scale of the MapView. |
Remarks
You can observe changes to this property by listening to the System.ComponentModel.INotifyPropertyChanged.PropertyChanged event.
The scale represents the relationship between a distance in the MapView (on the screen) and the corresponding distance on the ground. For example, a scale of 100,000 indicates that one centimeter on the MapView display equates to one kilometer on the ground.
Users can interactively change the scale using the map view's zooming gestures. You can set the scale programmatically using methods that set the Viewpoint, such as SetViewpointScaleAsync(Double).
The value is System.Double.NaN until the load status of the Map is Loaded and the draw status of the GeoView is Completed.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Windows | 100.13 - 200.5 |