Vector Tiles API

High-performance vector tiles for interactive maps

v1
Overview

Lightweight, scalable vector tiles in Mapbox Vector Tile (MVT) format

Lightning Fast

Sub-50ms response times globally

PMTiles Format

Optimized for web delivery

Multiple Stack

Roads, buildings, POIs, and more

Tile URL Template

Use this URL pattern with your mapping library

https://tiles.geog.dev/{z}/{x}/{y}.mvt

Replace {z}, {x}, {y} with zoom level and tile coordinates, or use directly with mapping libraries.

Authentication

Include your API key as a query parameter or header

Query Parameter (Recommended)

https://tiles.geog.dev/{z}/{x}/{y}.mvt?key=your-api-key

Header

X-API-Key: your-api-key-here

Usage Examples

Mapbox GL JS

Add geog tiles to Mapbox GL JS maps

map.addSource('geog', {
  type: 'vector',
  tiles: ['https://tiles.geog.dev/{z}/{x}/{y}.mvt?key=your-api-key'],
  minzoom: 0,
  maxzoom: 14
});

map.addLayer({
  id: 'roads',
  source: 'geog',
  'source-layer': 'roads',
  type: 'line',
  paint: {
    'line-color': '#666',
    'line-width': 2
  }
});
Leaflet with MapLibre

Use with MapLibre GL JS plugin for Leaflet

const map = L.map('map').setView([37.7749, -122.4194], 13);

L.maplibreGL({
  style: {
    version: 8,
    sources: {
      'geog': {
        type: 'vector',
        tiles: ['https://tiles.geog.dev/{z}/{x}/{y}.mvt?key=your-api-key']
      }
    },
    layers: [
      {
        id: 'background',
        type: 'background',
        paint: { 'background-color': '#f8f9fa' }
      },
      {
        id: 'roads',
        source: 'geog',
        'source-layer': 'roads',
        type: 'line',
        paint: { 'line-color': '#666', 'line-width': 2 }
      }
    ]
  }
}).addTo(map);
OpenStack

Vector tiles with OpenStack

import VectorTileLayer from 'ol/layer/VectorTile';
import VectorTileSource from 'ol/source/VectorTile';
import MVT from 'ol/format/MVT';

const vectorTileLayer = new VectorTileLayer({
  source: new VectorTileSource({
    format: new MVT(),
    url: 'https://tiles.geog.dev/{z}/{x}/{y}.mvt?key=your-api-key'
  })
});

map.addLayer(vectorTileLayer);
Available Stack

Vector tile layers included in each tile

Transportation

  • roads - Streets and highways
  • railways - Train and subway lines
  • paths - Walking and cycling paths

Buildings & Places

  • buildings - Building footprints
  • pois - Points of interest
  • labels - Place names and labels

Natural Features

  • water - Rivers, lakes, oceans
  • landcover - Parks, forests, land use
  • boundaries - Administrative boundaries

Metadata

  • addresses - Address points
  • postal - Postal code areas
  • timezone - Timezone boundaries
Pricing

Simple, transparent pricing for vector tiles

Free Tier

  • • 10,000 tile requests/month
  • • No credit card required
  • • All layers included

Pay-as-you-go

  • • $0.0005 per tile request
  • • No monthly minimum
  • • Global CDN delivery
Ready to Get Started?

Create an API key and start building with vector tiles