From 5154fa740d3eca75534bd1be7a40f07342419fb7 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 17 May 2016 17:14:08 +0100 Subject: Increase pixel tolerance of map click handler. --- web/js/map-OpenLayers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index f6c446f7b..267643898 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -665,7 +665,7 @@ OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { defaultHandlerOptions: { 'single': true, 'double': false, - 'pixelTolerance': 0, + 'pixelTolerance': 4, 'stopSingle': false, 'stopDouble': false }, -- cgit v1.2.3