Property MaxScale
MaxScale
Gets or sets the maximum scale where the layer is visible.
Declaration
public double MaxScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The maximum scale. |
Remarks
The maximum scale at which this layer is visible. If the map or scene is zoomed in beyond
this scale, the layer will not be visible. A value of 0 means there is no maximum scale
threshold and the layer will be visible at the smallest scale available for the map or
scene. If the value is null
, there is no maximum scale.
All of the connected map and scene views will be updated.
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 |
Relevant samples
Display layer view state: Determine if a layer is currently being viewed.
Feature layer query: Find features in a feature table which match an SQL query.