Difference between revisions of "African great ape layers"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
<div id="map" style="width: 100%; height: 500px;"></div> | <div id="map" style="width: 100%; height: 500px;"></div> | ||
− | |||
<script> | <script> | ||
// GEOJSON FILES | // GEOJSON FILES | ||
Line 39: | 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); | ||