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}); |
− | + | var gaabundanceLayer = L.geoJSON(gaabundance); gaabundanceLayer.addTo(map); | |
// for Layer Control | // for Layer Control |