new WfsFeatures()
A data store loading features from an OGC WFS.
- Source:
Members
(static) autoLoad
If autoLoad is true, this store's loadWfs method is automatically called
after creation.
- Source:
(static) cacheFeatureCount
Cache the total number of features be queried from when the store is
first loaded to use for the remaining life of the store.
This uses resultType=hits to get the number of features and can improve
performance rather than calculating on each request. It should be used
for read-only layers, or when the server does not return the
feature count on each request.
- Source:
(static) count
The 'count' param value used in the WFS request.
- Source:
(static) debounce
Time any request will be debounced. This will prevent too
many successive request.
- Source:
(static) featureCountOutputFormat
The outputFormat sent with the resultType=hits request.
Defaults to GML3 as some WFS servers do not support this
request type when using application/json.
Only has an effect if #cacheFeatureCount is set to `true`
- Source:
(static) format
The OL format used to parse the WFS GetFeature response.
- Source:
(static) layerAttribution
The attribution added to the created vector layer source. Only has an
effect if #createLayer is set to `true`
- Source:
(static) layerOptions
Additional OpenLayers properties to apply to the created vector layer.
Only has an effect if #createLayer is set to `true`
- Source:
(static) logicalFilterCombinator
Default logical comperator to combine filters sent to WFS
- Source:
(static) outputFormat
The 'outputFormat' param value used in the WFS request.
- Source:
(static) propertyName
A comma-separated list of property names to retrieve
from the server. If left as null all properties are returned.
- Source:
(static) remoteFilter
Default to using server side filtering
- Source:
(static) remoteSort
Default to using server side sorting
- Source:
(static) request
The 'request' param value used in the WFS request.
- Source:
(static) requestMethod
Default request method to use in AJAX requests
- Source:
(static) service
The 'service' param value used in the WFS request.
- Source:
(static) srsName
The 'srsName' param value used in the WFS request. If not set
it is automatically set to the map projection when available.
- Source:
(static) startIndex
The 'startIndex' param value used in the WFS request.
- Source:
(static) startIndexOffset
Offset to add to the #startIndex in the WFS request.
- Source:
(static) typeName
The 'typeName' param value used in the WFS request.
- Source:
(static) version
The 'version' param value used in the WFS request.
This should be '2.0.0' or higher at least if the paging mechanism
should be used.
- Source:
Methods
(static) createParameters() → {Object}
Create a parameters object used to make a WFS feature request
- Source:
Returns:
A object of WFS parameter keys and values
- Type
- Object