Address review comments

This commit is contained in:
Andreas Hocevar
2017-11-27 17:54:16 +01:00
parent dde81d8585
commit 3c806f924e
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ ol.renderer.webgl.ImageLayer.prototype.forEachLayerAtPixel = function(pixel, fra
}
if (this.getLayer().getSource().forEachFeatureAtCoordinate !== ol.nullFunction) {
// for ImageVector sources use the original hit-detection logic,
// for ImageCanvas sources use the original hit-detection logic,
// so that for example also transparent polygons are detected
var coordinate = ol.transform.apply(
frameState.pixelToCoordinateTransform, pixel.slice());