Merge pull request #2583 from fredj/readFeature-doc

Update ol.format.GeoJSON#readFeature documentation
This commit is contained in:
Frédéric Junod
2014-08-21 13:30:56 +02:00
+2 -2
View File
@@ -325,8 +325,8 @@ ol.format.GeoJSON.prototype.getExtensions = function() {
/** /**
* Read a feature from a GeoJSON Feature source. This method will throw * Read a feature from a GeoJSON Feature source. Only works for Feature,
* an error if used with a FeatureCollection source. * use `readFeatures` to read FeatureCollection source.
* *
* @function * @function
* @param {ArrayBuffer|Document|Node|Object|string} source Source. * @param {ArrayBuffer|Document|Node|Object|string} source Source.