qmetrics.net

PMTiles

Single-file archive for map tile pyramids on static storage

PMTiles screenshot

PMTiles packs tiled map data into one file you can host on object storage and read via HTTP range requests, without a dedicated tile server.

Overview

PMTiles is an archive format that stores an entire pyramid of map tiles inside a single file. That file can sit on commodity static storage such as S3, so clients fetch only the byte ranges they need instead of relying on a custom tile backend.

The format is part of the broader Protomaps ecosystem for interactive web maps. Reference tooling includes a command-line binary to convert from MBTiles, upload archives to cloud buckets, and work with archives locally. Consumer libraries and examples target JavaScript with MapLibre GL JS or Leaflet, OpenLayers, Go, and Python scripts.

Documented deployment patterns emphasize serverless operation: the archive plus HTTP range requests replace always-on tile servers. Separate recipes cover AWS Lambda and Cloudflare Workers as optional serving layers. A published specification defines archive layout, with a stated current version in project documentation.

Compared with traditional tile servers, the model trades dynamic server logic for static hosting costs and simpler operations, while still supporting interactive pan and zoom when paired with a suitable map renderer.

Key features

  • Single-file tile archive
  • HTTP range request access
  • MBTiles conversion CLI
  • S3 and static hosting
  • JavaScript MapLibre and Leaflet examples
  • OpenLayers integration
  • Go and Python libraries
  • Public format specification

Use cases

  • Serverless web map apps
  • Low-maintenance tile hosting
  • S3-backed basemaps
  • Offline-friendly tile bundles
  • Protomaps basemap delivery

Tags

Similar software

Leaflet

Lightweight JavaScript library for interactive maps

Leaflet embeds pan-zoom maps in web pages with markers, vector layers, and controls. It targets browsers with a small footprint and an extension plugin ecosystem.

  • Tile layers and WMS support
  • Markers, popups, and tooltips
  • Polylines, polygons, and GeoJSON
JavaScriptWebDetails →
★ 46k⟳ todayBSD-2-Clause
Open Source Alternative to:Mapbox

react-native-maps

Declarative map components for React Native mobile apps

react-native-maps provides MapView and map child components for iOS and Android React Native apps. Markers, polygons, overlays, and region control use a React-like declarative API.

  • MapView with declarative marker children
  • Polylines, polygons, and tile overlays
  • Custom marker images and React callouts
TypeScriptAndroid, iOSDetails →
★ 16k⟳ 2 months agoMIT

CesiumJS

JavaScript library for 3D globes and web maps

CesiumJS renders interactive 3D globes and 2D maps in the browser with WebGL, streaming terrain, imagery, 3D Tiles, and time-dynamic geospatial data.

  • WebGL 3D globe and 2D maps
  • 3D Tiles and glTF models
  • Terrain and imagery streaming
JavaScriptWebDetails →
★ 16k⟳ todayApache-2.0

prettymaps

Custom map plots from OpenStreetMap with Python

prettymaps fetches OpenStreetMap data and renders styled map images using osmnx, matplotlib, shapely, and vsketch.

  • OpenStreetMap layer fetching
  • Matplotlib style per layer
  • JSON map presets
PythonDetails →
★ 14.4k⟳ 4 months agoAGPL-3.0

OpenLayers

High-performance JavaScript library for interactive web maps

OpenLayers renders tiled maps, vectors, and markers in the browser from diverse sources. Install the ol npm package and import only the modules your page needs.

  • XYZ and OGC tiled layers
  • GeoJSON and vector tile support
  • Canvas 2D and WebGL rendering
JavaScriptDetails →
★ 12.7k⟳ todayBSD-2-Clause

MapLibre GL JS

Browser library for interactive vector tile maps

MapLibre GL JS renders map styles with WebGL from vector tiles in web pages or webviews. It continues the open mapbox-gl-js lineage after Mapbox’s license change.

  • WebGL vector tile rendering
  • MapLibre Style Spec styling
  • Markers, popups, and map controls
TypeScriptWebDetails →
★ 12.2k⟳ todayBSD-3-Clause
Open Source Alternative to:Mapbox