adding lower section of the west traverse township area on the leaflet map
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Oct 2018 20:00:55 +0000 (16:00 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 29 Oct 2018 20:00:55 +0000 (16:00 -0400)
parts/map.php
sections/front-page.php

index fb8b693..6588095 100644 (file)
           [ 45.432209, -85.016373],
           [ 45.436567, -85.041560],
           [ 45.478742, -85.091747]
-          
+        ];
+        var WestTraverse2 = [
+          [45.425129, -84.990858],
+          [45.424235, -84.992283],
+          [ 45.422448, -84.993132],
+          [ 45.421554, -84.991252],
+          [ 45.421554, -84.989737],
+          [ 45.421448, -84.988979],
+          [ 45.421129, -84.987676],
+          [ 45.419831, -84.985463],
+          [ 45.419916, -84.984826],
+          [ 45.419299, -84.983523],
+          [ 45.419213, -84.982098],
+          [ 45.418553, -84.978764],
+          [ 45.418872, -84.977309],
+          [ 45.419468, -84.976733],
+          [ 45.420149, -84.977097],
+          [ 45.420319, -84.977438],
+          [ 45.420298, -84.977673],
+          [ 45.420107, -84.978612],
+          [ 45.420213, -84.979491],
+          [ 45.420128, -84.981189],
+          [ 45.420767, -84.984068],
+          [ 45.421767, -84.985341],
+          [ 45.423086, -84.987493],
+          [ 45.423980, -84.988463],
+          [ 45.424490, -84.990070],
+          [ 45.425129, -84.990858],
         ];
         var LittleTraverse = [
           [45.464194, -84.975117],
         })
     
 
-        var harborSpringsCity = L.polygon(harborSprings,{color: '#91311D'}).addTo(leafletMap);
-        harborSpringsCity.setStyle({fillColor: '#91311D', fillOpacity: .1});
+        var harborSpringsCity = L.polygon(harborSprings,{color: '#02528F'}).addTo(leafletMap);
+        harborSpringsCity.setStyle({fillColor: '#02528F', fillOpacity: .1});
 
 
         // var polyline = L.polyline(downtown, {color: '#91311D', weight: 2}).addTo(leafletMap);
         var wtPolygon = L.polygon(WestTraverse, {color: '#91311D'}).addTo(leafletMap);
         ltPolygon.setStyle({fillColor: '#91311D', fillOpacity: .1});
   
+        var wtPolygon2 = L.polygon(WestTraverse2, {color: '#91311D'}).addTo(leafletMap);
+        ltPolygon.setStyle({fillColor: '#91311D', fillOpacity: .1});
         var ltbInfo = `<div class="marker-title">Little Traverse Bay is a small bay, 170 feet (55 m) deep, off Lake Michigan in the northern area of the Lower Peninsula of Michigan. The cities of Harbor Springs and Petoskey are located on this bay.</div>`;
         "Little Traverse Bay is a small bay, 170 feet (55 m) deep, off Lake Michigan in the northern area of the Lower Peninsula of Michigan. The cities of Harbor Springs and Petoskey are located on this bay."
         new L.Marker([45.406518, -84.948100], {
index e16ce7d..c2dd583 100644 (file)
@@ -18,9 +18,6 @@
             <img src="<?php //echo get_template_directory_uri();?>/assets/barn.jpg" alt="">
         </div> -->
         <?php get_template_part('parts/enews.png'); ?>
-
-            <?php echo "Test"; ?>
         <?php get_template_part('parts/map'); ?>
-     
     </div>
 </main>
\ No newline at end of file