From 8f46fb75db80e06bc0835e1a605ed53ef63e9189 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Mon, 29 Oct 2018 16:00:55 -0400 Subject: [PATCH] adding lower section of the west traverse township area on the leaflet map --- parts/map.php | 35 ++++++++++++++++++++++++++++++++--- sections/front-page.php | 3 --- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/parts/map.php b/parts/map.php index fb8b693..6588095 100644 --- a/parts/map.php +++ b/parts/map.php @@ -65,7 +65,34 @@ [ 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], @@ -97,8 +124,8 @@ }) - 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); @@ -110,6 +137,8 @@ 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 = `
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.
`; "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], { diff --git a/sections/front-page.php b/sections/front-page.php index e16ce7d..c2dd583 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -18,9 +18,6 @@ --> - - - \ No newline at end of file -- 2.17.1