Property SpatialReferences
SpatialReferences
Gets a set of additional spatial references that the WMS layer supports.
Declaration
public IReadOnlyCollection<SpatialReference> SpatialReferences { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<SpatialReference> | Unordered collection of SpatialReferences listed for this WMS layer.
Spatial reference systems not supported by Runtime API are omitted. Spatial references
with multiple well-known IDs (e.g. |
Remarks
Every named WMS layer is available in one or more spatial reference systems. The root WmsLayerInfo lists spatial references common to all sublayers. Sublayers inherit all spatial references from their parent layer, and may specify additional ones.
Only the spatial references specifically listed for this WMS layer are included in this collection. To get a complete set of available spatial references for this WMS layer, combine this list with the spatial references for all parent layers. Some WMS services will list inherited spatial references on child layers, so duplicates should be ignored.
To use a specific spatial reference, add the WmsLayer to a Map with the desired SpatialReference prior to loading it.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |