(custom-geojson)
(custom-geojson new-value)
JSON containing information about custom GeoJSON files for use in map visualizations instead of the default US State or World GeoJSON.
custom-geojson
is a json Setting. You can get its value by calling:
(custom-geojson)
and set its value by calling:
(custom-geojson <new-value>)
You can also set its value with the env var MB_CUSTOM_GEOJSON
.
Clear its value by calling:
(custom-geojson nil)
Its default value is {}
.
JSON containing information about custom GeoJSON files for use in map visualizations instead of the default US State or World GeoJSON. `custom-geojson` is a json Setting. You can get its value by calling: (custom-geojson) and set its value by calling: (custom-geojson <new-value>) You can also set its value with the env var `MB_CUSTOM_GEOJSON`. Clear its value by calling: (custom-geojson nil) Its default value is `{}`.
GET /api/geojson/:key
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.## `GET /api/geojson/:key` 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). ##### PARAMS: * **`key`** value must be a non-blank string.
Ring routes for api/geojson: (GET_:key)
Ring routes for api/geojson: (GET_:key)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close