MapLibre GL JS logo

MapLibre GL JS

JavaScript library for interactive, GPU-rendered vector tile maps in the browser

Repository activity
  • Stars10.8k
  • Forks1.1k
  • Open Issues369
maplibre-maplibre-gl-js health score - Linux Foundation Insights
License

BSD-3-Clause

Languages
  • TypeScript
  • HTML
  • GLSL
MapLibre GL JS screenshot

About MapLibre GL JS

MapLibre GL JS renders interactive vector tile maps in web pages and webview-based apps. A style sheet defines the map's data sources and layers, and the library draws them on the GPU through WebGL, so panning, zooming, rotating, and tilting stay smooth even with dense data.

It loads vector and raster tile sources, applies data-driven styling, and supports 3D terrain, custom layers, and runtime style changes. You instantiate a map with a container element, a style URL, a center, and a zoom level. Bindings exist for React and Angular, and the library is the rendering core of the wider MapLibre stack.

MapLibre GL JS is maintained by the MapLibre organization. It began in December 2020 as a community fork of mapbox-gl-js 1.x, after Mapbox moved its library to a non-open-source license. It is distributed under the 3-Clause BSD license.

Key features

  • GPU-accelerated vector tile rendering via WebGL
  • Data-driven styling from a JSON style sheet
  • Pan, zoom, rotate, and tilt interaction
  • 3D terrain and custom layer support
  • React and Angular bindings

Details

First released
2020
Platforms
Web
Language
TypeScript
License
3-Clause BSD
Governance
MapLibre organization
Latest release
v5.24.0 · Apr 2026