Skip to main content

map-gl-offline

Complete offline map functionality for MapLibre GL JS

Complete Offline Support

Download and store entire map regions including vector/raster tiles, fonts, glyphs, sprites, and styles. Works seamlessly when offline.

Modern UI Control

Beautiful glassmorphic UI with dark/light theme support, interactive polygon drawing for region selection, and real-time download progress.

MBTiles Import/Export

Round-trip regions as real binary v1.3 SQLite MBTiles files. Vector tiles are gzipped and vector_layers is emitted, so the output opens directly in QGIS, tippecanoe, and maplibre-native.

Full TypeScript Support

Written in TypeScript with complete type definitions. Enjoy full autocomplete and type checking in your IDE.

Storage Management

Built-in analytics, automatic cleanup, and quota management. Keep track of storage usage and optimize performance.

Easy Integration

Drop-in MapLibre GL JS control. Add offline capabilities to your existing map application with just a few lines of code.