new WFS(userParams, options, vendorOpts)
facade/js/layer/WFS.js, line 28
Name | Type | Description |
---|---|---|
userParams |
string | Mx.parameters.WFS |
parameters |
options |
Mx.parameters.LayerOptions |
provided by the user |
vendorOpts |
Object |
vendor options for the base library |
Extends
- M.layer.Vector
Members
-
module:M/layer/WFS~WFS.DEFAULT_OPTIONS_STYLE{object}
-
Default style for WFS layers
-
module:M/layer/WFS~WFS.DEFAULT_PARAMS{object}
-
Default params for style vector layers
Methods
-
equals(obj){boolean}
facade/js/layer/WFS.js, line 263 -
Checks if an object is equal to this layer. Two WFS layers are equal if both of them are WFS instances and have the same namespace, name, id, cql and version.
Name Type Description obj
Object Object to to compare
Returns:
True if equal, false otherwise
-
setCQL(cql)
facade/js/layer/WFS.js, line 228 -
Sets a CQL string to apply to the layer. A new query will be made to the WFS server.
Name Type Description cql
String CQL to apply
-
setGeometry(newGeometry)
facade/js/layer/WFS.js, line 216 -
Sets the geometry of the layer
Name Type Description newGeometry
String Geometry
-
setName(newName)
facade/js/layer/WFS.js, line 192 -
Sets the name of the layer
Name Type Description newName
String Name
-
setNamespace(newNamespace)
facade/js/layer/WFS.js, line 204 -
Sets the namespace of the layer
Name Type Description newNamespace
String Namespace
-
setURL(newURL)
facade/js/layer/WFS.js, line 180 -
Sets the url of the layer
Name Type Description newURL
String URL