Do not delete from oldFeatureMap
This commit is contained in:
1 parent
cbf7f91cfb
commit
d8bc769758
1 file changed
+2
-1
@@ -126,8 +126,9 @@ ol.interaction.Select.prototype.select =
|
||||
unselectedFeatures.push(layer.getFeatureWithUid(f));
|
||||
}
|
||||
featuresToRemove.push(featureMap[f]);
|
||||
delete featureMap[f];
|
||||
}
|
||||
featureMap = {};
|
||||
this.featureMap_[layerId] = featureMap;
|
||||
}
|
||||
for (var j = 0; j < numFeatures; ++j) {
|
||||
var feature = features[j];
|
||||
|
||||
Reference in new issue
Block a user