Skip to main content

Mapbox Vector Tile Boundaries beta

GET 

/v4/boundaries/vector-tile/:x/:y/:z

This endpoint is in beta and not yet ready for production. Check out the LiveBy API Beta Endpoints Program for more information.

Get a mapbox vector tile. This endpoint is intended to be used by a map library that supports Mapbox Vector Tiles. For most map libraries, the base tile endpoint will be https://api.liveby.com/v4/boundaries/vector-tile/{x}/{y}/{z}

Currently, the vector tile API only supports at zoom level 7 and greater.

The query parameters are the same as the search-boundaries endpoint.

Each boundary is separated into its own "layer-source" based on its layer. For instance, https://api.liveby.com/v4/boundaries/28/48/7?layer=neighborhood&layer=city will provide a source vector tile with 4 source-layers, one for the neighborhood polygon data, one for the neighborhood-label label point, one for the city polygon source, and one for the city-label. The ID provided from this API is a vector tile ID, and not the standard boundary ID. To get the standard boundary ID, use the _id field.

To keep this API as fast as possible, a small subset of data is returned. Only name, _id, boundingBox and layer are returned.

For more information about source-layers, see the Mapbox source-layers documentation.

Request

Responses