Don't use withFrozenRendering in ol.interaction.Select#handleMapBrowserEvent

This commit is contained in:
Tom Payne
2014-02-27 12:51:42 +01:00
parent 73be72380b
commit ad29e6bceb
-6
View File
@@ -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;
};