Difference between revisions of "Test"
Jump to navigation
Jump to search
Line 27: | Line 27: | ||
attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map); | attribution: '© <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'}).addTo(map); | ||
− | + | // loading GeoJSON file - Here my html and usa_adm.geojson file resides in same folder | |
− | + | $.getJSON("REFUGIA_MALEY96.geojson", function(data) { | |
− | + | L.geoJson(data).addTo(newMap); | |
− | + | }); | |
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
// for Layer Control | // for Layer Control | ||
var baseMaps = { | var baseMaps = { |
Revision as of 08:26, 25 February 2022