Merge pull request #5653 from ahocevar/fix-filter-docs
Fix namespace in filter docs
This commit is contained in:
@@ -9,12 +9,12 @@
|
|||||||
* featureNS: 'http://www.openplans.org/topp',
|
* featureNS: 'http://www.openplans.org/topp',
|
||||||
* featurePrefix: 'topp',
|
* featurePrefix: 'topp',
|
||||||
* featureTypes: ['states'],
|
* featureTypes: ['states'],
|
||||||
* filter: ol.format.wfs.filter.equalTo('name', 'New York')
|
* filter: ol.format.ogc.filter.equalTo('name', 'New York')
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
* Or to combine a `BBOX` filter with a `PropertyIsLike` filter:
|
* Or to combine a `BBOX` filter with a `PropertyIsLike` filter:
|
||||||
*
|
*
|
||||||
* var f = ol.format.wfs.filter;
|
* var f = ol.format.ogc.filter;
|
||||||
* var request = new ol.format.WFS().writeGetFeature({
|
* var request = new ol.format.WFS().writeGetFeature({
|
||||||
* srsName: 'urn:ogc:def:crs:EPSG::4326',
|
* srsName: 'urn:ogc:def:crs:EPSG::4326',
|
||||||
* featureNS: 'http://www.openplans.org/topp',
|
* featureNS: 'http://www.openplans.org/topp',
|
||||||
|
|||||||
Reference in New Issue
Block a user