Get Raster Tile
Get Raster Tile
GET
/api/v2/tiles/raster-v1/{z}/{x}/{y}.png
Description
Returns a 256x256 PNG raster tile of the chart at the given XYZ coordinates. The server renders the tile by drawing the same vector data described in Get Vector Tile onto a bitmap with the default day-mode style, then caches the result.
For renderers that consume Mapbox-style raster sources, point them at /api/v1/styles/raster.json?token=<token string>. That endpoint returns a minimal style document referencing this tile URL.
Authentication
This endpoint accepts a Bearer token in the Authorization header or a token query parameter. See Authentication for details.
Path Parameters
- z: Zoom level. Must be between
0and22inclusive. - x: Tile column.
- y: Tile row.
Response
On success, returns a PNG image with Content-Type: image/png.
Error Responses
- 401 Unauthorized: The token is missing or not valid.
- 404 Not Found: The
z,x, oryparameter is out of range for the given zoom level.
Example Request GET https://<your-host>:9909/api/v2/tiles/raster-v1/12/1240/1515.png Authorization: Bearer <token> Example Response Status Code: 200 OK Content-Type: image/png ... binary PNG image ...