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 |
---|---|
Double | The minimum scale. |
Remarks
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 on 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 |
---|---|
ArgumentOutOfRangeException | MinScale |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |