post https://api.mira.co/analytics/tiles/
Pull a tile layer from an adhoc request.
The only required parameter in this request is audience_id, but
depending on what parameters are present, certain parameters become
required. The API will return 400 Bad Requests with a description of what
is missing.
Geo Parameters
- If a
market_idis specified, the tiles being returned will be restricted to that market. This can also be accomplished using theboundsparameter directly, but the query will run much faster with bothmarket_idandboundsspecified in the request. - If
boundsis specified, then the request must also havezoom. - If
levelis specified, the would-be-computed level based on zoom is overridden. If you are requesting an entire market with no bounds, this will default to a certain "market-level", but can be overridden here.
Styling Parameters
- If
dynamicis set toTrue, but there are nobounds, it is ignored. - If
dynamicis set toFalse, thenmarket_idmust be present. - If both
bucketsandcolorsare specified, the length of the colors array must be equal to the buckets parameter.
