qmetrics.net

MapLibre GL JS

Browser library for interactive vector tile maps

MapLibre GL JS screenshot

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.

Overview

MapLibre GL JS is a TypeScript library for showing interactive maps in browsers and webview-based applications. It draws vector tiles on the GPU for responsive panning and zooming, and map appearance follows the MapLibre Style Spec.

The project began as a community fork of mapbox-gl-js when Mapbox moved newer releases away from open licensing. Early releases aimed to be a drop-in replacement for the last open Mapbox GL JS generation while the codebase has since added its own features. Bindings exist for React and Angular, with additional resources listed in community catalogs.

Developers install via npm or load ES modules from a CDN, configuring worker URLs for bundlers such as Vite, webpack, esbuild, Rollup, or Next.js. Documentation covers map controls, markers, popups, sources, events, and CSP considerations for workers and images.

MapLibre GL JS is the web counterpart to MapLibre Native on mobile and other platforms within the broader MapLibre ecosystem.

Key features

  • WebGL vector tile rendering
  • MapLibre Style Spec styling
  • Markers, popups, and map controls
  • ESM bundler and CDN installs
  • Worker URL configuration helpers
  • React and Angular bindings available
  • GPU-accelerated map display
  • Content security policy guidance

Use cases

  • Embedding maps in web applications
  • Webview map UIs in hybrid apps
  • Custom-styled interactive basemaps
  • Migrating from legacy Mapbox GL OSS
  • Data visualization on geographic canvases

Open-source alternative to

Mapbox
“The library's initial versions (1.x) were intended to be a drop-in replacement for the Mapbox’s OSS version (1.x) with additional functionality, but have evolved a lot since then.” source

Tags

Similar software

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.

★ 16k⟳ 2 days agoApache-2.0
Maps & NavigationDesktop/CLI app

QGIS

Cross-platform desktop geographical information system

QGIS is a full-featured GIS for creating maps, managing spatial data, and running geospatial analysis on Unix, Windows, and macOS.

★ 14.9k⟳ todayGPL-2.0
Maps & NavigationDesktop/CLI app

deck.gl

WebGL2 framework for large-scale geospatial data visualization

A GPU-oriented JavaScript framework for rendering and exploring very large datasets in the browser. It stacks composable visual layers over maps or custom views.

★ 14.8k⟳ todayMIT

prettymaps

Custom map plots from OpenStreetMap with Python

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

★ 14.4k⟳ 4 months agoAGPL-3.0
Maps & NavigationDesktop/CLI app

Maptoposter

Python CLI for minimalist city map posters

Maptoposter turns OpenStreetMap data into printable map posters for any city. You choose theme, radius, and size from the command line and export high-resolution images.

★ 14.4k⟳ 9 months agoMIT
Maps & NavigationDesktop/CLI app

Folium

Python library for interactive Leaflet.js maps

Python package to prepare geographic data and render it on interactive Leaflet maps, combining Python data tooling with Leaflet.js on the web.

★ 7.4k⟳ yesterdayMIT
Maps & NavigationDesktop/CLI app