ts-maps

ts-maps

Zero-dep Mapbox-class maps

Zero-dependency, TypeScript-native, interactive mapping — Mapbox-class features with a Leaflet-style API.

ts-maps
🗺️

Interactive slippy maps

TsMap with fractional zoom, bearing, pitch, and unified flyTo / easeTo / jumpTo camera animations.

🧱

Vector tiles + style spec

In-house MVT decoder, Mapbox GL Style Spec subset, and a full expression engine.

🏔️

3D & terrain

fill-extrusion, setFog, setSky, DEM-based setTerrain, and a CustomLayerInterface.

🌍

Globe

Seamless Mercator-to-globe transition around zoom 5.5, with an atmosphere halo.

🧭

Services

Keyless geocoding, directions, isochrones, and distance matrix. Mapbox / Google / Maptiler / Photon opt-in.

📴

Offline

IndexedDB-backed TileCache, saveOfflineRegion pre-fetcher, and a worker pool for tile decode.

🎯

Zero runtime deps

Subpath exports (ts-maps/services, ts-maps/style-spec, ...) let you pull in just one slice.

🧩

Framework bindings

Official React, Vue, Svelte, Solid, Nuxt, and React-Native bindings.