HttpLayer.Url Property
Gets or sets the URL to a web mapping service.
Syntax
public System.String Url { get; set; }
Property Value
Default: Must be specified in constructor.
The URL to the service.
Remarks
For an OgcWmsLayer, this URL identifies the OGC WMS service instance. For example, the following URL identifies a WMS service instance on a Carmenta Server demo server that provides a world map:
http://demo.carmenta.com/SpatialAceWMS/OGCWMSInterface.axd?view=NiceWorldMap.View0
For an OgcWmtsLayer, this property specifies both the type of service, and identifies the service itself:
If the URL contains template parameters {x}, {y} or {-y}, and {z}, it is assumed to point to a slippy map tilenames service.
If it contains the hostname of a Bing Maps metadata server ("dev.virtualearth.net"), the layer will use the Bing Maps service.
Otherwise, the URL is assumed to identify an OGC WMTS service. To use a RESTful interface to the service, specify the full URL to the GetCapabilites document for the service. To use a KVP interface instead, specify the URL to the service endpoint.
For an OgcApiTilesLayer, this URL identifies either an OGC API collection page or identifies a specific OGC API TileSet hosted on the server. For example, the following URL identifies an OGC API collection on a Carmenta Tile Engine Server that provides a world map.
http://[ipaddress]/collections/NiceWorldMap
And the following URL identifies a specific TileSet hosted by a Carmenta Tile Engine.
http://[ipaddress]/collections/NiceWorldMap/map/tiles/WorldCRS84Quad
To successfully modify the value of this property, two actions needs to be taken. Firstly, you have to call Reset so that all information retrieved by previous GetCapabilities requests are released. Secondly, you must call FlushCache to release all cached resources.
Platforms
Windows, Linux, Android