Difference between revisions of "African great ape layers"
Jump to navigation
Jump to search
Line 38: | Line 38: | ||
// Null variable that will hold layer // took out onEachFeature: forEachFeature, | // Null variable that will hold layer // took out onEachFeature: forEachFeature, | ||
//var gaabundanceLayer = L.geoJson(null, {style: stylegaabundance}); | //var gaabundanceLayer = L.geoJson(null, {style: stylegaabundance}); | ||
− | $.getJSON("berlin.geojson",function(data | + | $.getJSON("berlin.geojson",function(data){ |
− | L.geoJson(data).addTo(map); | + | L.geoJson(data).addTo(map); |
− | + | }); | |
// for Layer Control | // for Layer Control | ||
var baseMaps = { | var baseMaps = { |