Property MinScale
MinScale
Gets or sets the minimum scale to render this layer at. A large number allows the map to display the layer when zooming further out.
Declaration
public double MinScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The minimum scale at which to display the graphics overlay. A large number allows the map to display the layer when zooming further out. |
Remarks
This controls the minimum scale at which the graphics overlay is displayed. If the current map scale is larger than the minimum scale, then this graphics overlay will not be displayed.
A scale is usually referred to as 1:X, where X is the scale specified here. This value is the relative scale to the real world, where one inch on the screen is X inches in the real world. Note that this is only an approximation and is dependent on the map's projection that can add some distortion, as well as the system's reported DPI setting which doesn't necessarily match the actual DPI of the screen.
The default value of this property is System.Double.NaN which makes the layer unbounded by any scale.
Exceptions
Type | Condition |
---|---|
System.ArgumentOutOfRangeException | MinScale |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |