From: Anthony Talarico Date: Tue, 30 Oct 2018 16:51:53 +0000 (-0400) Subject: removing es6 js features to comply with ie11 X-Git-Tag: v1.0.0^2~84 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=1b291e2f469a546683b4cea77088629e658ee0de;p=WP-Themes%2Fcityofharborsprings.git removing es6 js features to comply with ie11 --- diff --git a/parts/map.php b/parts/map.php index 984b827..cd4a686 100644 --- a/parts/map.php +++ b/parts/map.php @@ -141,7 +141,7 @@ var harborSpringsCity = L.polygon(harborSprings,{color: '#02528F',weight: 1}).addTo(leafletMap); harborSpringsCity.setStyle({fillColor: '#02528F', 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.
`; + 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], { icon: new L.DivIcon({ @@ -151,7 +151,7 @@ }).addTo(leafletMap).bindPopup(ltbInfo); // Lake Michigan - var lmInfo = `
Lake Michigan is one of the five Great Lakes of North America and the only one located entirely within the United States. The other four Great Lakes are shared by the U.S. and Canada. It is the second-largest of the Great Lakes by volume and the third-largest by surface area."
`; + var lmInfo = '
Lake Michigan is one of the five Great Lakes of North America and the only one located entirely within the United States. The other four Great Lakes are shared by the U.S. and Canada. It is the second-largest of the Great Lakes by volume and the third-largest by surface area."
'; new L.Marker([45.402413, -85.014117], { icon: new L.DivIcon({ className: 'my-div-icon', @@ -159,7 +159,7 @@ }) }).addTo(leafletMap).bindPopup(lmInfo); - var ltInfo = `
Little Traverse Township is a civil township of Emmet County in the U.S. state of Michigan. The population was 2,426 at the 2000 census."
`; + var ltInfo = '
Little Traverse Township is a civil township of Emmet County in the U.S. state of Michigan. The population was 2,426 at the 2000 census."
'; // Little Traverse Township new L.Marker([45.439232, -84.907780], { icon: new L.DivIcon({ @@ -169,13 +169,13 @@ }).addTo(leafletMap).bindPopup(ltInfo); // Harbor Springs - var info = `
Harbor Springs is a city and resort community in Emmet County in the U.S. state of Michigan. The population was 1,194 at the 2010 census. Harbor Springs is in a sheltered bay on the north shore of the Little Traverse Bay on Lake Michigan
`; + var info = '
Harbor Springs is a city and resort community in Emmet County in the U.S. state of Michigan. The population was 1,194 at the 2010 census. Harbor Springs is in a sheltered bay on the north shore of the Little Traverse Bay on Lake Michigan
'; var marker = new L.marker([45.431962, -84.990662]).bindPopup(info); //opacity may be set to zero marker.addTo(leafletMap); // West Traverse Township - var ltInfo = `
West Traverse Township is a civil township of Emmet County in the U.S. state of Michigan. The population was 1,448 at the 2000 census."
`; + var ltInfo = '
West Traverse Township is a civil township of Emmet County in the U.S. state of Michigan. The population was 1,448 at the 2000 census."
'; new L.Marker([45.451360, -85.038732], { icon: new L.DivIcon({ className: 'my-div-icon',