Fix ol.Feature 'change' event documentation
Setting the id also dispatch a `change` event
This commit is contained in:
+2
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user