title | summary |
---|---|
GeoJSON |
API endpoints for GeoJSON.
|
API endpoints for GeoJSON.
Load a custom GeoJSON file based on a URL or file path provided as a query parameter. This behaves similarly to /api/geojson/:key but doesn't require the custom map to be saved to the DB first.
-
url
value must be a non-blank string. -
respond
-
raise
Fetch a custom GeoJSON file as defined in the custom-geojson
setting. (This just acts as a simple proxy for the
file specified for key
).
-
key
value must be a non-blank string. -
respond
-
raise