new WfsQueryModel()
modules/tools/filter/query/source/wfs.js, line 12
Fires:
- Util#event:getProxyURL
Extends
- SourceModel
Methods
-
buildQueryDatastructureByType(layerObject, url, featureType, version){void}
modules/tools/filter/query/source/wfs.js, line 25 -
Sends a DescriptFeatureType Request for the Layer asscociated with this Query and proceeds to build the datastructure including the snippets for this query
Name Type Description layerObject
string WFS LayerObject url
string WFS Url featureType
string WFS FeatureType version
string WFS Version -
parseResponse(response){object}
modules/tools/filter/query/source/wfs.js, line 57 -
Extract Attribute names and types from DescribeFeatureType-Response and creates the snippets
Name Type Description response
object response xml from ajax call. Depending on the wfs this is a xml-string or a xml-object. Returns:
Mapobject containing names and types
-
requestMetadata(url, featureType, version, callback){void}
modules/tools/filter/query/source/wfs.js, line 43 -
Führt DescriptFeatureType Request aus
Name Type Description url
string url to wfs featureType
string featuretype of wfs version
string version of wfs callback
function callbackfunction for ajaxrequest