text: //Special thanks to these tutorials and tools:
  //http://duspviz.mit.edu/web-map-workshop/map-symbolization/
  //http://maptimediliman.github.io/jsonlet-intro.html
  //geojson.io
  //https://jsonformatter.curiousconcept.com/
  
  
  //Making the map
  L.mapbox.accessToken = 'pk.eyJ1Ijoic2FyYWhwOTgiLCJhIjoiY2twM2d0aTR2MDFjazJwdDg1eWI4eXAwMyJ9.SqFgMylpQh7qrbqOTvvTmg';
  var mymap = L.mapbox.map('mapid')
      .setView([47.256105, -122.443722], 14)
      .addLayer(L.mapbox.styleLayer('mapbox://styles/sarahp98/cjxo2uw8c3b401cogsrixqhd2'));
  
  
  // //Making the map
  // var mymap = L.map('mapid').setView([47.249, -122.443722], 12);
  // //Basemap
  // L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', {
  //   attribution: 'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>',
  //   maxZoom: 18,
  //   id: 'mapbox.light',
  //   accessToken: 'pk.eyJ1Ijoic2FyYWhwOTgiLCJhIjoiY2twM2d0aTR2MDFjazJwdDg1eWI4eXAwMyJ9.SqFgMylpQh7qrbqOTvvTmg'
  // }).addTo(mymap);
  
  var schools = L.icon({
    iconUrl: 'images/schools.png', //icon from https://mapicons.mapsmarker.com/
    iconSize: [40, 40],
  });
  var associations = L.icon({
    iconUrl: 'images/associations.png', //icon from https://mapicons.mapsmarker.com/
    iconSize: [40, 40],
  });
  var churches = L.icon({
    iconUrl: 'images/churches.png', //icon from https://mapicons.mapsmarker.com/
    iconSize: [40, 40],
  });
  var government = L.icon({
    iconUrl: 'images/government.png', //icon from https://mapicons.mapsmarker.com/
    iconSize: [40, 40],
  });
  var recreation = L.icon({
    iconUrl: 'images/recreation.png', //icon from https://mapicons.mapsmarker.com/
    iconSize: [40, 40],
  });
  var transportation = L.icon({
    iconUrl: 'images/train.png', //icon from https://mapicons.mapsmarker.com/
    iconSize: [40, 40],
  });
  
  $.getJSON("data/associations.geojson",function(data){
    pathStops = L.geoJson(data, {
      onEachFeature: function (feature, layer) {
        layer.bindPopup('<p>Name: '+feature.properties.Name+'</p><p>Address: '+feature.properties.Address+'</p><p>Notes: '+feature.properties.Notes+'</p><p>Source: '+feature.properties.Source+'</p><p>Photo: '+feature.properties.Photo+'</p>');
      }, pointToLayer: function (feature, latlng) {
        var marker = L.marker(latlng,{icon: associations});
        return marker;
      }
    }).addTo(mymap);
  })
  
  $.getJSON("data/churches.geojson",function(data){
    pathStops = L.geoJson(data, {
      onEachFeature: function (feature, layer) {
        layer.bindPopup('<p>Name: '+feature.properties.Name+'</p><p>Address: '+feature.properties.Address+'</p><p>Notes: '+feature.properties.Notes+'</p><p>Source: '+feature.properties.Source+'</p><p>Photo: '+feature.properties.Photo+'</p>');
      }, pointToLayer: function (feature, latlng) {
        var marker = L.marker(latlng,{icon: churches});
        return marker;
      }
    }).addTo(mymap);
  })
  
  $.getJSON("data/recreation.geojson",function(data){
    pathStops = L.geoJson(data, {
      onEachFeature: function (feature, layer) {
        layer.bindPopup('<p>Name: '+feature.properties.Name+'</p><p>Address: '+feature.properties.Address+'</p><p>Notes: '+feature.properties.Notes+'</p><p>Source: '+feature.properties.Source+'</p><p>Photo: '+feature.properties.Photo+'</p>');
      }, pointToLayer: function (feature, latlng) {
        var marker = L.marker(latlng,{icon: recreation});
        return marker;
      }
    }).addTo(mymap);
  })
  
  $.getJSON("data/schools.geojson",function(data){
    pathStops = L.geoJson(data, {
      onEachFeature: function (feature, layer) {
        layer.bindPopup('<p>Name: '+feature.properties.Name+'</p><p>Address: '+feature.properties.Address+'</p><p>Notes: '+feature.properties.Notes+'</p><p>Source: '+feature.properties.Source+'</p><p>Photo: '+feature.properties.Photo+'</p>');
      }, pointToLayer: function (feature, latlng) {
        var marker = L.marker(latlng,{icon: schools});
        return marker;
      }
    }).addTo(mymap);
  })
  
  $.getJSON("data/transportation.geojson",function(data){
    pathStops = L.geoJson(data, {
      onEachFeature: function (feature, layer) {
        layer.bindPopup('<p>Name: '+feature.properties.Name+'</p><p>Address: '+feature.properties.Address+'</p><p>Notes: '+feature.properties.Notes+'</p><p>Source: '+feature.properties.Source+'</p><p>Photo: '+feature.properties.Photo+'</p>');
      }, pointToLayer: function (feature, latlng) {
        var marker = L.marker(latlng,{icon: transportation});
        return marker;
      }
    }).addTo(mymap);
  })
  