reducing the stroke weight of the map borders
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Oct 2018 14:43:43 +0000 (10:43 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Oct 2018 14:43:43 +0000 (10:43 -0400)
parts/map.php

index 89665e0..984b827 100644 (file)
         // var polyline = L.polyline(downtown, {color: '#91311D', weight: 2}).addTo(leafletMap);
         // var polyline = L.polyline(LittleTraverse, {color: '#91311D', weight: 2}).addTo(leafletMap);
 
-        var ltPolygon = L.polygon(LittleTraverse, {color: '#3A727C'}).addTo(leafletMap);
+        var ltPolygon = L.polygon(LittleTraverse, {color: '#3A727C',weight: 1}).addTo(leafletMap);
         ltPolygon.setStyle({fillColor: '#3A727C', fillOpacity: .1});
 
-        var wtPolygon = L.polygon(WestTraverse, {color: '#91311D'}).addTo(leafletMap);
+        var wtPolygon = L.polygon(WestTraverse, {color: '#91311D',weight: 1}).addTo(leafletMap);
         ltPolygon.setStyle({fillColor: '#91311D', fillOpacity: .1});
   
-        var wtPolygon2 = L.polygon(WestTraverse2, {color: '#91311D'}).addTo(leafletMap);
+        var wtPolygon2 = L.polygon(WestTraverse2, {color: '#91311D',weight: 1}).addTo(leafletMap);
         ltPolygon.setStyle({fillColor: '#91311D', fillOpacity: .1});
 
-        var harborSpringsCity = L.polygon(harborSprings,{color: '#02528F'}).addTo(leafletMap);
+        var harborSpringsCity = L.polygon(harborSprings,{color: '#02528F',weight: 1}).addTo(leafletMap);
         harborSpringsCity.setStyle({fillColor: '#02528F', 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."