From 754e31d69f2c70bea28e7de13b11ef36ec618788 Mon Sep 17 00:00:00 2001 From: Javier Arce Date: Wed, 12 Feb 2014 11:15:07 +0100 Subject: [PATCH] Removes pointer-events from the canvas layer --- lib/torque/leaflet/canvas_layer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/torque/leaflet/canvas_layer.js b/lib/torque/leaflet/canvas_layer.js index 4245e10..382d04b 100644 --- a/lib/torque/leaflet/canvas_layer.js +++ b/lib/torque/leaflet/canvas_layer.js @@ -31,6 +31,7 @@ L.CanvasLayer = L.Class.extend({ this._canvas.style.position = 'absolute'; this._canvas.style.top = 0; this._canvas.style.left = 0; + this._canvas.style.pointerEvents = "none"; this._canvas.style.zIndex = options.zIndex || 0; this._ctx = this._canvas.getContext('2d');