adjusting the default coordinates for the starting display of the map
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 14 Dec 2018 17:35:31 +0000 (12:35 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 14 Dec 2018 17:35:31 +0000 (12:35 -0500)
views/front/map/display.html

index cf6ac0f..1172da5 100644 (file)
@@ -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}