Add note about features with the same id

This commit is contained in:
drnextgis
2017-05-12 17:49:37 +07:00
parent 7c5a3ae311
commit fa398766d9
2 changed files with 5 additions and 2 deletions

View File

@@ -329,7 +329,8 @@ ol.format.GeoJSON.GEOMETRY_WRITERS_ = {
/**
* Read a feature from a GeoJSON Feature source. Only works for Feature or
* geometry types. Use {@link ol.format.GeoJSON#readFeatures} to read
* FeatureCollection source.
* FeatureCollection source. If feature at source has an id, it will be used
* as Feature id by calling {@link ol.Feature#setId} internally.
*
* @function
* @param {Document|Node|Object|string} source Source.