Method 1: External GeoJSON File
The endpoint: http://www.townsendjennings.com/geojson-polygons? can take the url variable:
geojson
= (URL to a valid geojson file)
Thanks to https://github.com/johan/world.geo.json for the geojson files
Method 2: In browser
If geojson
is not set, a panel on the lefthand side of the page can interpret GeoJSON and show it on the map.
URL Variables:
-
geojson
: The publicaly accessible location of a.geojson
file (ensure that CORS is enabled if linking from your own server) -
highlight
: (TODO: This will turn the glowing red outlines on or off)