Property ReferenceScale
ReferenceScale
Gets or sets the reference scale for the map.
Declaration
public double ReferenceScale { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The reference scale. May be 0 when layer is not loaded, or if layer has no reference scale set. |
Remarks
The reference scale is the scale at which feature symbols and text will appear at their authored
size. If the viewing scale is different from the reference scale, then the symbology and text
graphics will be scaled to keep the same size on the map. Only those layers for which
scaleSymbols is true
will be scaled. For example, ScaleSymbols.
The default value is 0.0. Zero reference scale means that no reference scale is set and all symbology and text graphics will be drawn at their default screen size.
Updates to the reference scale will redraw other layers that use the reference scale, and may redraw other layers that depend on them. For example, dynamic labels may need to re-position to avoid overlaps.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 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.5 - 200.5 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |