From: Anthony Talarico Date: Mon, 17 Dec 2018 20:55:41 +0000 (-0500) Subject: adding gesture handling to the county map display X-Git-Tag: v1.0.0^2~19 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=d9e72754545a44e774cbceb68fb07e7ffe44c5fc;p=WP-Plugins%2Fglm-member-db-county-map.git adding gesture handling to the county map display --- 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};