Fix ol.Feature 'change' event documentation

Setting the id also dispatch a `change` event
This commit is contained in:
Frederic Junod
2014-09-23 17:40:44 +02:00
parent b8d8acd3fd
commit 1dcde66839
+2 -1
View File
@@ -50,7 +50,8 @@ goog.require('ol.style.Style');
* *
* @constructor * @constructor
* @extends {ol.Object} * @extends {ol.Object}
* @fires change Triggered when the geometry or style of the feature changes. * @fires change Triggered when the id, the geometry or the style of the
* feature changes.
* @param {ol.geom.Geometry|Object.<string, *>=} opt_geometryOrProperties * @param {ol.geom.Geometry|Object.<string, *>=} opt_geometryOrProperties
* You may pass a Geometry object directly, or an object literal * You may pass a Geometry object directly, or an object literal
* containing properties. If you pass an object literal, you may * containing properties. If you pass an object literal, you may