Fix namespace in filter docs

This commit is contained in:
Andreas Hocevar
2016-07-28 12:06:58 +02:00
parent 3d57ea45cb
commit f059eb6686
+2 -2
View File
@@ -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',