Liking cljdoc? Tell your friends :D

metabase.api.tiles

/api/tiles endpoints.

`/api/tiles` endpoints.
raw docstring

GET_:zoom_:x_:y_:lat-field-id_:lon-field-id_:lat-col-idx_:lon-col-idx_clj

GET /api/tiles/:zoom/:x/:y/:lat-field-id/:lon-field-id/:lat-col-idx/:lon-col-idx/

This endpoints provides an image with the appropriate pins rendered given a MBQL QUERY (passed as a GET query string param). We evaluate the query and find the set of lat/lon pairs which are relevant and then render the appropriate ones. It's expected that to render a full map view several calls will be made to this endpoint in parallel.

PARAMS:
  • zoom value must be a valid integer.

  • x value must be a valid integer.

  • y value must be a valid integer.

  • lat-field-id value must be an integer greater than zero.

  • lon-field-id value must be an integer greater than zero.

  • lat-col-idx value must be a valid integer.

  • lon-col-idx value must be a valid integer.

  • query value must be a valid JSON string.

## `GET /api/tiles/:zoom/:x/:y/:lat-field-id/:lon-field-id/:lat-col-idx/:lon-col-idx/`

This endpoints provides an image with the appropriate pins rendered given a MBQL QUERY (passed as a GET query
  string param). We evaluate the query and find the set of lat/lon pairs which are relevant and then render the
  appropriate ones. It's expected that to render a full map view several calls will be made to this endpoint in
  parallel.

##### PARAMS:

*  **`zoom`** value must be a valid integer.

*  **`x`** value must be a valid integer.

*  **`y`** value must be a valid integer.

*  **`lat-field-id`** value must be an integer greater than zero.

*  **`lon-field-id`** value must be an integer greater than zero.

*  **`lat-col-idx`** value must be a valid integer.

*  **`lon-col-idx`** value must be a valid integer.

*  **`query`** value must be a valid JSON string.
sourceraw docstring

routesclj

Ring routes for api/tiles: (GET_:zoom_:x_:y_:lat-field-id_:lon-field-id_:lat-col-idx_:lon-col-idx_)

Ring routes for api/tiles:
(GET_:zoom_:x_:y_:lat-field-id_:lon-field-id_:lat-col-idx_:lon-col-idx_)
sourceraw docstring

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

× close