Rename {get|set}FeatureId to {get|set}Id
This commit is contained in:
@@ -144,7 +144,7 @@ ol.interaction.Select.prototype.select =
|
||||
} else if (!(featureId in oldFeatureMap)) {
|
||||
clone = new ol.Feature(feature.getAttributes());
|
||||
clone.setGeometry(feature.getGeometry().clone());
|
||||
clone.setFeatureId(feature.getFeatureId());
|
||||
clone.setId(feature.getId());
|
||||
clone.setSymbolizers(feature.getSymbolizers());
|
||||
clone.renderIntent = ol.layer.VectorLayerRenderIntent.SELECTED;
|
||||
featureMap[featureId] = clone;
|
||||
|
||||
Reference in New Issue
Block a user