I would like to load a geoJSON (polygon) file into my leaflet map. I have seen examples where geoJSON is embedded into the javascript code but I can't find any examples showing how it is done with an external file.
Answer
after adding var usStates =
to the top of my geojson file the code worked.
No comments:
Post a Comment