new CadcorpWMS(name, url, params, options)
Instances of OpenLayers.Layer.CadcorpWMS are used to display data from OGC Web Mapping Services.
Extends OpenLayers.Layer.WMS
Parameters:
Name | Type | Description |
---|---|---|
name |
string | The name for this layer |
url |
string | The base url for the wms |
params |
Object | An object with key/value pairs representing the GetMap query string parameters and parameter values. |
options |
Object | Hashtable of extra options to tag onto the layer. These options include all properties available for OpenLayers.Layer.WMS. |
Members
(constant) CLASS_NAME :string
The name of this class
Type:
- string
Methods
toCookieObject() → {Cadcorp.SerialisableWMSLayer}
Gets a simple object that can be serialised into a cookie