- Home
- Docs
- API reference
- Vector map style (MapLibre) with your key in its tile and font URLs
API reference
Vector map style (MapLibre) with your key in its tile and font URLs
`wayline-light.json` is a MapLibre style whose vector-tile and glyph URLs point back at this API with the key you called it with. Pass the URL straight to MapLibre GL JS, Flutter `maplibre_gl` or MapLibre Native for a zoomable, rotatable map. Not billed.
Endpoint
GET
Bearer Authhttps://api.wayline.cloud/v1/maps/styles/{style}Requires an API key (authentication). Billing: see units & pricing.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
stylerequired | path | string | One of: wayline-light.json |
region | query | string |
Response
200 — MapLibre style JSON.
Errors
| Status | When |
|---|---|
400 | Bad request (invalid coordinates, out of coverage, too many elements, etc.). |
401 | Missing or invalid API key, or expired key. |
403 | Account disabled, key IP restriction failed, origin not allowed, or scope not permitted. |
Error bodies contain a code such as OUT_OF_COVERAGE — see the error reference.
Try it
Interactive API Console
Sends a real request from your browser using a test key (free, never billed). The key stays in this browser tab only.
No key yet? Create a free test key.