WmsService class final

An Open Geospatial Consortium (OGC) Web Map Service (WMS).

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 WmsService.serviceInfo and access its layers using the WmsServiceInfo.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.

Implemented types
Mixed in types

Constructors

WmsService.withUri(Uri uri)
Creates a WmsService with the specified URL to the service.
factory

Properties

customParameters Map<String, String>
Custom parameters that are appended to GetCapabilities, GetMap, and GetFeatureInfo WMS requests.
no setter
hashCode int
The hash code for this object.
no setterinherited
loadError ArcGISException?
The load error.
no setterinherited
loadStatus LoadStatus
The load status.
no setterinherited
onLoadStatusChanged Stream<LoadStatus>
A stream that reports changes to the LoadStatus.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serviceInfo WmsServiceInfo?
The information for browsing and accessing the WmsService content.
no setter
uri Uri
The WMS service's URL.
no setter
version WmsVersion
The version of the WMS specification used when communicating with this service.
no setter

Methods

cancelLoad() → void
Cancels loading metadata for the object.
inherited
load() Future<void>
Loads the metadata for the object asynchronously.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retryLoad() Future<void>
Loads or retries loading metadata for the object asynchronously.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited