GET
/tilesMap Tiles API
Render interactive maps using high-performance vector tiles. Supports multiple styles and zoom levels for web and mobile applications.
Try in Playground →Authentication
Include your API token in the request header:
X-Authorization-Token: your_token_here
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| latitude | number | Required | Center latitude |
| longitude | number | Required | Center longitude |
| zoom | number | Required | Zoom level (0-18) |
| style | string | Optional | Map style: light or dark (default: light) |
Code Examples
curl "https://apihub.latlong.ai/tiles?latitude=VALUE&longitude=VALUE&zoom=VALUE" \ -H "X-Authorization-Token: YOUR_TOKEN"
Response
JSON200 OK
{
"status": "success",
"tile_url": "https://tiles-v2.latlong.in/blue_essence.json",
"style": "light",
"zoom": 15
}Integration
Use the tile style URL with MapLibre GL JS for interactive maps:
JavaScript
const map = new maplibregl.Map({
container: 'map',
style: 'https://tiles-v2.latlong.in/blue_essence.json',
center: [77.59, 12.97],
zoom: 12
});Ready to try it?
Test this API interactively in the playground.

