From d9e72754545a44e774cbceb68fb07e7ffe44c5fc Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 17 Dec 2018 15:55:41 -0500 Subject: [PATCH] adding gesture handling to the county map display --- views/front/map/display.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/front/map/display.html b/views/front/map/display.html index 1172da5..b7f3abf 100644 --- a/views/front/map/display.html +++ b/views/front/map/display.html @@ -11,7 +11,9 @@ jQuery(function($){ // Create map with default center and size - var countyMap = L.map('area-map').setView([46.45, -87.0], 8); + var countyMap = L.map('area-map',{ + gestureHandling: true + }).setView([46.45, -87.0], 8); var countiesDirectory = '{$assets}/counties/'; // Tile Server URL var tileServer = 'https://maps.gaslightmedia.com/12312029-NoPlaceNames-95bfebd37e9e7d649daafa8762629084/'+ {literal}'{z}/{x}/{y}.png'{/literal}; -- 2.17.1