Difference between revisions of "African great ape layers"

From A.P.E.S. wiki
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 = {

Revision as of 05:09, 15 June 2022

Spatial Layers > African great ape layers