Don't use withFrozenRendering in ol.interaction.Select#handleMapBrowserEvent
This commit is contained in:
@@ -97,11 +97,6 @@ ol.interaction.Select.prototype.handleMapBrowserEvent =
|
||||
var add = this.addCondition_(mapBrowserEvent);
|
||||
var map = mapBrowserEvent.map;
|
||||
var features = this.featureOverlay_.getFeatures();
|
||||
map.withFrozenRendering(
|
||||
/**
|
||||
* @this {ol.interaction.Select}
|
||||
*/
|
||||
function() {
|
||||
if (add) {
|
||||
map.forEachFeatureAtPixel(mapBrowserEvent.pixel,
|
||||
/**
|
||||
@@ -140,7 +135,6 @@ ol.interaction.Select.prototype.handleMapBrowserEvent =
|
||||
}
|
||||
}
|
||||
}
|
||||
}, this);
|
||||
return false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user