Dispatch change on feature id change

This commit is contained in:
Tim Schaub
2014-05-20 09:35:14 -06:00
parent 305e9b0df1
commit 34cabd1579
2 changed files with 29 additions and 0 deletions
+1
View File
@@ -185,6 +185,7 @@ ol.Feature.prototype.setStyle = function(style) {
*/
ol.Feature.prototype.setId = function(id) {
this.id_ = id;
this.dispatchChangeEvent();
};