maps.gurudocs
Documentation

Tile Rendering

maps.guru serves vector tiles in the Mapbox Vector Tile (MVT) format using PMTiles archives stored on Cloudflare R2.

Tile URL Format

https://tiles.maps.guru/v1/{source}/{z}/{x}/{y}.pbf?key=YOUR_API_KEY
ParameterDescription
sourceTile source name (e.g., planet-vector)
zZoom level (0-15)
xTile column
yTile row

Available Sources

SourceDescriptionMax Zoom
planet-vectorFull planet vector tiles with OpenMapTiles schema15

Vector Tile Layers

The planet-vector source includes these layers:

LayerDescriptionMin Zoom
waterOceans, lakes, rivers0
landcoverForests, parks, farmland0
boundaryCountry, state, admin boundaries0
transportationRoads, railways, paths4
buildingBuilding footprints13
placeCity, town, village labels2
poiPoints of interest12

Caching

Tiles are cached at multiple levels for optimal performance:

LayerTTLEffect
CDN (Cloudflare)1 weekTiles served from nearest edge
PMTiles header1 hourAvoids re-reading tile index
In-memoryPer instanceFaster directory lookups

Typical latency:

  • CDN hit: ~70ms
  • CDN miss: ~200ms (fetches from R2)
  • Cold start: ~300-400ms

Fonts and Sprites

Static assets are served publicly (no API key required):

# Font glyphs
https://tiles.maps.guru/fonts/{fontstack}/{range}.pbf

# Sprite sheets
https://tiles.maps.guru/sprites/v2/{name}.json
https://tiles.maps.guru/sprites/v2/{name}.png

These assets have a 1-year immutable cache and are not counted toward your usage quota.