Dispatch change on feature id change
This commit is contained in:
@@ -185,6 +185,7 @@ ol.Feature.prototype.setStyle = function(style) {
|
||||
*/
|
||||
ol.Feature.prototype.setId = function(id) {
|
||||
this.id_ = id;
|
||||
this.dispatchChangeEvent();
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user