Difference between revisions of "Test"
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
// loading GeoJSON file - Here my html and usa_adm.geojson file resides in same folder | // loading GeoJSON file - Here my html and usa_adm.geojson file resides in same folder | ||
− | $.getJSON(" | + | $.getJSON("usa.json", function(data) { |
L.geoJson(data).addTo(newMap); | L.geoJson(data).addTo(newMap); | ||
}); | }); |
Revision as of 08:27, 25 February 2022