Difference between revisions of "Test"

From A.P.E.S. wiki
Jump to navigation Jump to search
Line 25: Line 25:
  
 
  // load GeoJSON from an external file
 
  // load GeoJSON from an external file
   fetch("REFUGIA_MALEY96.geojson").then(res => res.json()).then(data => {
+
   fetch("usa.geojson").then(res => res.json()).then(data => {
 
     // add GeoJSON layer to the map once the file is loaded
 
     // add GeoJSON layer to the map once the file is loaded
 
     L.geoJson(data).addTo(map);
 
     L.geoJson(data).addTo(map);

Revision as of 08:35, 25 February 2022