removing es6 js features to comply with ie11
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Oct 2018 16:51:53 +0000 (12:51 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 30 Oct 2018 16:51:53 +0000 (12:51 -0400)
parts/map.php

index 984b827..cd4a686 100644 (file)
 
         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>`;
+        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], {
             icon: new L.DivIcon({
         }).addTo(leafletMap).bindPopup(ltbInfo);
 
         // Lake Michigan
-        var lmInfo = `<div class="marker-title">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." </div>`;
+        var lmInfo = '<div class="marker-title">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." </div>';
         new L.Marker([45.402413, -85.014117], {
             icon: new L.DivIcon({
                 className: 'my-div-icon',
             })
         }).addTo(leafletMap).bindPopup(lmInfo);
         
-        var ltInfo = `<div class="marker-title">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." </div>`;
+        var ltInfo = '<div class="marker-title">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." </div>';
         // Little Traverse Township
         new L.Marker([45.439232, -84.907780], {
             icon: new L.DivIcon({
         }).addTo(leafletMap).bindPopup(ltInfo);
 
         // Harbor Springs
-        var info = `<div class="marker-title">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</div>`;
+        var info = '<div class="marker-title">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</div>';
         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 = `<div class="marker-title">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." </div>`;
+        var ltInfo = '<div class="marker-title">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." </div>';
         new L.Marker([45.451360, -85.038732], {
             icon: new L.DivIcon({
                 className: 'my-div-icon',