aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-05-17 17:14:08 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-05-17 17:14:08 +0100
commit5154fa740d3eca75534bd1be7a40f07342419fb7 (patch)
treea080a64589a651a906e015e85a37b8b9b138f0cf
parenta0c620b2f4e19dd2a46dcf42ba4c5ec70af49410 (diff)
Increase pixel tolerance of map click handler.
-rw-r--r--web/js/map-OpenLayers.js2
1 files changed, 1 insertions, 1 deletions
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
},