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 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.2.1 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 100.15 |