Liking cljdoc? Tell your friends :D

metabase.api.geojson


custom-geojsonclj

(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 `{}`.
sourceraw docstring

GET_:keyclj

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.
## `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.
sourceraw docstring

routesclj

Ring routes for api/geojson: (GET_:key)

Ring routes for api/geojson:
(GET_:key)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close