Class WmsService
An Open Geospatial Consortium (OGC) Web Map Service (WMS).
Inheritance
Namespace: Esri.ArcGISRuntime.Ogc
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class WmsService : INotifyPropertyChanged, ILoadable
Remarks
The OGC WMS standard is an international specification for requesting geo-registered map images from one or more distributed geospatial databases. The service may be hosted in ArcGIS Enterprise or in a third party server. You can construct a WmsService using the URL for a service's GetCapabilities operation. Once loaded, you can browse its metadata using ServiceInfo and access its layers using the LayerInfos collection.
WMS versions 1.3.0, 1.1.1, and 1.1.0 are supported. The latest supported WMS version is set as the default. If you want to specify a different WMS version, set the VERSION parameter in the GetCapabilities URL for the service. For more information, see Parameters of a WMS GetCapabilities request URL.
Constructors
Name | Description |
---|---|
WmsService(Uri) | Initializes a new instance of the WmsService class with the specified service URI. |
Properties
Name | Description |
---|---|
CustomParameters | Gets the dictionary of custom parameters that are appended to WMS requests. |
LoadError | Gets the System.Exception associated with the last load error. |
LoadStatus | Gets the load status. |
ServiceInfo | Gets the information for browsing and accessing the WmsService content. |
Source | Gets the URI of this WMS service. |
Version | Gets the version of the WMS specification used when communicating with this service. |
Methods
Name | Description |
---|---|
CancelLoad() | Cancel loading metadata for the object. |
LoadAsync() | Load the metadata for the object asynchronously. |
RetryLoadAsync() | Loads or retries loading metadata for the object asynchronously. |
Events
Name | Description |
---|---|
Loaded | Event that is raised when the object is done loading. |
LoadStatusChanged | Event that is raised when the LoadStatus property changes. |
Name | Description |
---|---|
INotifyPropertyChanged.PropertyChanged |
See Also
Applies to
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 |