new WFS(userParameters, options)
Parameters:
Name | Type | Description |
---|---|---|
userParameters |
string | Mx.parameters.WFS | parameters |
options |
Mx.parameters.LayerOptions | provided by the user |
- Source:
Extends
Members
-
<static, constant> DEFAULT_OPTIONS_STYLE :object
-
Style options by default for this layer
Type:
- object
- Source:
-
style_
-
TODO
- Inherited From:
- Source:
Methods
-
addFeatures(features)
-
This function add features to layer
Parameters:
Name Type Description features
Array.<M.feature> Features to add
- Inherited From:
- Source:
-
clear()
-
This function remove all features
- Inherited From:
- Source:
-
equals()
-
This function checks if an object is equals
to this layer- Overrides:
- Source:
-
fire()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source:
-
getFeatureById(id)
-
This function returns the feature with this id
Parameters:
Name Type Description id
string | number Id feature
- Inherited From:
- Source:
Returns:
feature - Returns the feature with that id if it is found, in case it is not found or does not indicate the id returns null
- Type
- null | M.feature
-
getFeatures(applyFilter)
-
This function returns all features or discriminating by the filter
Parameters:
Name Type Description applyFilter
boolean Indicates whether execute filter
- Inherited From:
- Source:
Returns:
returns all features or discriminating by the filter
-
getFeaturesExtent(applyFilter)
-
This function return extent of all features or discriminating by the filter
Parameters:
Name Type Description applyFilter
boolean Indicates whether execute filter
- Inherited From:
- Source:
Returns:
Extent of features
- Type
- Array.<number>
-
getFilter()
-
This function return filter
- Inherited From:
- Source:
Returns:
returns filter assigned
- Type
- M.Filter
-
getImpl()
-
This function provides the implementation
of the object- Inherited From:
- Source:
Returns:
- Type
- Object
-
getLegendURL()
-
This function checks if an object is equals
to this layer- Inherited From:
- Source:
-
getOpacity()
-
This function gets the opacity of this layer
- Inherited From:
- Source:
-
getStyle()
-
This function return style vector
TODO
- Inherited From:
- Source:
-
getZIndex()
-
This function gets the z-index of this layer
- Inherited From:
- Source:
-
inRange()
-
This function indicates if the layer is in range
- Inherited From:
- Source:
-
isQueryable()
-
This function indicates if the layer is visible
- Inherited From:
- Source:
-
isVisible()
-
This function indicates if the layer is visible
- Inherited From:
- Source:
-
on()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source:
-
once()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source:
-
redraw()
-
This function redraw layer
- Inherited From:
- Source:
-
refresh()
-
This function refresh layer
- Inherited From:
- Source:
-
removeFeatures(features)
-
This function remove the features indicated
Parameters:
Name Type Description features
Array.<M.feature> Features to remove
- Inherited From:
- Source:
-
removeFilter()
-
This function remove filter
- Inherited From:
- Source:
-
setCQL()
-
This function checks if an object is equals
to this layer- Source:
-
setFilter(filter)
-
This function set a filter
Parameters:
Name Type Description filter
M.Filter filter to set
- Inherited From:
- Source:
-
setImpl(impl)
-
This function set implementation of this control
Parameters:
Name Type Description impl
M.Map to add the plugin
- Inherited From:
- Source:
-
setLegendURL()
-
This function checks if an object is equals
to this layer- Inherited From:
- Source:
-
setOpacity()
-
This function sets the opacity of this layer
- Inherited From:
- Source:
-
setStyle()
-
TODO
- Overrides:
- Source:
-
setVisible()
-
This function sets the visibility of this layer
- Inherited From:
- Source:
-
setZIndex()
-
This function sets the z-index for this layer
- Inherited From:
- Source:
-
un()
-
Sets the callback when the instace is loaded
- Inherited From:
- Source: