From: Anthony Talarico Date: Fri, 14 Dec 2018 17:35:31 +0000 (-0500) Subject: adjusting the default coordinates for the starting display of the map X-Git-Tag: v1.0.0^2~20 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=f03d08cb9ef5b1c8c1b3bd98c5e9c6cd11027b20;p=WP-Plugins%2Fglm-member-db-county-map.git adjusting the default coordinates for the starting display of the map --- diff --git a/views/front/map/display.html b/views/front/map/display.html index cf6ac0f..1172da5 100644 --- a/views/front/map/display.html +++ b/views/front/map/display.html @@ -11,7 +11,7 @@ jQuery(function($){ // Create map with default center and size - var countyMap = L.map('area-map').setView([46.75, -87.0], 8); + var countyMap = L.map('area-map').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}; @@ -45,7 +45,7 @@ 'Gogebic': {literal} {latOffset: -0.05, lonOffset: 0.00, url: 'county=Gogebic'},{/literal} 'Houghton': {literal} {latOffset: 0.15, lonOffset: -0.20, url: 'county=Houghton'},{/literal} 'Iron': {literal} {latOffset: 0.00, lonOffset: 0.00, url: 'county=Iron'},{/literal} - 'Keweenaw': {literal} {latOffset: 0.00, lonOffset: 0.00, url: 'county=Keweenaw'},{/literal} + 'Keweenaw': {literal} {latOffset: -0.30, lonOffset: 0.00, url: 'county=Keweenaw'},{/literal} 'Luce': {literal} {latOffset: 0.00, lonOffset: 0.00, url: 'county=Luce'},{/literal} 'Mackinac': {literal} {latOffset: 0.18, lonOffset: -0.50, url: 'county=Mackinac'},{/literal} 'Marquette': {literal} {latOffset: -0.10, lonOffset: 0.00, url: 'county=Marquette'},{/literal}