Show / Hide Table of Contents

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. CRS:84 and EPSG:4326) are only listed once. List may be empty.

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
Map(SpatialReference)
SpatialReference

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.2.1 - 200.8
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.8
In This Article
Back to top Copyright © 2022 Esri.