Elestia Open Source Ratings
8.5

MapLibre GL JS

A strong pick. 1st of 8 map libraries.

MapLibre GL JS is the open-source, community-run WebGL map renderer that grew out of Mapbox GL JS. For new web apps that need vector tiles, it is the strongest free choice today. It is very actively developed, and the ecosystem is moving towards it. You have to bring your own tile source, and it does not do geo-analysis: pair it with a library like Turf.

Best for: Teams that want fast, styleable vector, 3D or globe maps in the browser without vendor lock-in or per-load fees.

WebsiteGitHubnpm

Scores

Overall8.5

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

For a new web map with vector tiles, 3D or a globe, it is the open default. It is well maintained, growing fast, and replacing Mapbox GL JS across the ecosystem. It falls short of the top score because it needs a separate tile source and stack, Leaflet stays simpler for basic maps, and OpenLayers handles projections better. A recent critical XSS was fixed quickly, and v6 brought breaking changes.

GPT-6.2 Sol: 8.4, likely 7.3 to 9.4

MapLibre GL JS is a strong first choice for a new browser project whose map depends on custom vector styling, terrain, or globe views. Active funded maintenance and current integrations make it a credible long-term choice. Leaflet is simpler for basic maps, OpenLayers handles a wider range of GIS inputs, and the limited independent performance evidence for v6 leaves room for the choice to vary by workload.

Needed by many4.8

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Interactive maps are a common need in web apps, but most JS and TS projects never show one. MapLibre's take, a WebGL vector renderer, covers most serious map work in the browser. Simple marker maps are often served by Leaflet instead.

GPT-6.2 Sol: 4.5, likely 3.4 to 5.6

Interactive maps serve a distinct subset of JavaScript and TypeScript projects, and MapLibre fits especially well when those projects need styled vector tiles. Its API works across frontend frameworks, but rendering needs a browser with WebGL2 and place search and geometry editing need add-ons. The evidence describes what it can serve more clearly than how many teams need it.

Helps a lot8.5

How well does it do the job for those who need it?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

It is the leading open vector-tile renderer: data-driven styling, 3D terrain and extrusions, globe mode, typed APIs, and a steady flow of new style features. Users call it the best way to show maps in the browser. Its limits are slower rendering than Leaflet or OpenLayers for small feature counts, a lack of alternate projections for now, and a need for separate tile, font and geo-analysis tools.

GPT-6.2 Sol: 8.5, likely 7.4 to 9.5

Version 6.19.0 offers expressive vector styles, terrain, and globe rendering, with TypeScript declarations and a specific error when WebGL2 initialization fails. Runnable bundler examples and maintained agent guidance help with setup, especially around the v6 worker. An independent benchmark favored Leaflet and OpenLayers for small raw GeoJSON datasets, but it tested older releases and leaves current performance across devices uncertain. Custom projections are experimental, and advanced spatial analysis still calls for a tool such as Turf.

Holds up over time8.6

Will it still be a good choice in two years?

Claude Opus 5.5: 8.5, likely 7.5 to 9.5

Activity is very high: 62 releases, 1,575 commits and 760 contributors, with a push the day before the read. The MapLibre organisation has a board, elections, corporate sponsors and paid engineers, and integrations are moving towards it from Mapbox. The v6 move to ESM-only and WebGL2 broke some setups, and the newsletter says the fast pace has slowed reviews.

GPT-6.2 Sol: 8.6, likely 7.4 to 9.5

The project recorded 1,575 commits and 62 GitHub releases over the past year, and sponsorship pays for maintenance and triage. The roadmap includes WebGPU, and the current release has fixes from several contributors. The v6 move to ES modules and WebGL2 cost some users migration time, and the available issue counts give limited visibility into typical response times.

Used widely6.7

How many use it, and is that growing?

Claude Opus 5.5: 7.5, likely 6.5 to 8.5

Downloads grew from 3.8M to 40.4M per 4 weeks, a ratio of about 10.6 against a median of 4.1, so it is clearly gaining ground. Automated installs inflate that total. The ecosyste.ms count of 1,681 dependent repos is far below Leaflet's 50k and OpenLayers' 29k, partly because ecosyste.ms covers newer packages less. Stars sit at 12k, on par with OpenLayers.

  • npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 40.4M against 3.8M a year before, a ratio of about 10.6
  • dependents: 1,681 repos and 238 packages, low against Leaflet and OpenLayers
  • github stars: 12,143 stars
  • bluesky posts: 14 posts, mid-range among the peers

GPT-6.2 Sol: 5.9, likely 4.5 to 7.1

Four-week npm downloads grew from 3.8 million to 40.4 million, about 10.6× against the catalog median of 4.1× and Leaflet’s 5.9×. Ecosyste.ms counted 1,681 dependent repositories and 238 npm packages, well behind Leaflet and OpenLayers on repository counts, while a web scan detected MapLibre on about 40,000 sites. Automated installs and use through wrappers can lift downloads, and CDN loading can bypass npm, so the number of projects choosing it directly remains uncertain.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo; medianDownloadsRatio: Downloads grew about 10.6× against a 4.1× median.
  • dependents; peers Leaflet, OpenLayers: Tracked repository counts are 1,681, 50,451, and 29,309 respectively.
  • github stars; bluesky posts: 12,143 stars and 14 recent Bluesky posts linking to the repository.
  • stackscan.com/data-geospatial: Independent web scan detects MapLibre GL JS on about 40,000 sites.
  • mapricot.com/guides/leaflet-vs-openlayers-vs-maplibre: Demonstrates CDN use and MapLibre rendering through a Leaflet plugin.
Vouched for8.1

Who stands behind it being good?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Several current, independent users run it in production: the OpenStreetMap website, Apache Superset, Home Assistant and Placemark. deck.gl added a first-party MapLibre overlay. Peer-reviewed benchmarks include it, though they show Mapbox GL JS somewhat faster. There is no developer-survey data for map libraries.

GPT-6.2 Sol: 8.1, likely 6.9 to 9.0

OpenStreetMap.org uses MapLibre in its production vector layer, Amazon Location documents it as a web renderer, and deck.gl supports v6 directly. Independent research found strong results for vector-tile rendering in a 3D building workload. Some prominent integrations still show or pin v5, and the broad developer surveys reviewed provide no MapLibre satisfaction measure, which limits confidence about v6 across workloads.

Safe7.2

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Its record shows one advisory: a critical XSS bypass in the attribution sanitizer, fixed in 6.4.1 shortly after disclosure. That matters most for apps that pass untrusted attribution strings. It pulls in 19 dependencies, and the licence is a permissive BSD-3-Clause. The only Scorecard is from 2022 and showed no security policy, unsigned releases and broad token permissions, so the current state is uncertain.

  • advisories: 1 critical XSS advisory in the last 24 months
  • osv.dev/vulnerability/CVE-2026-85061: Affects 6.4.0 and earlier; fixed in 6.4.1
  • scorecard: 6.6, dated 2022; weak on security policy, signed releases and token permissions
  • npm dependencies / license: 19 dependencies, BSD-3-Clause

GPT-6.2 Sol: 7.4, likely 6.1 to 8.5

The reported critical cross-site scripting issue was fixed in v6.4.1 before public disclosure and backported to v5.24.1 in November. The package has a permissive BSD-3-Clause license, 19 direct dependencies, and four listed npm collaborators. GitHub Actions publishes after a version PR is merged, and the release guide documents an npm token. The 2022 Scorecard gave code review full marks and flagged signing and token permissions, but its age limits what it says about current controls.

Good

  • A GPU-rendered vector-tile map with JSON styles, 3D terrain, building extrusions and a globe mode, all under a BSD-3-Clause licence.
  • Very active development: 62 releases and about 1,575 commits in the last year, from a governed organisation with sponsors.
  • Broad and growing adoption, including the OpenStreetMap website, Apache Superset, Home Assistant, and a first-party overlay in deck.gl.
  • Ships TypeScript types and is a near drop-in replacement for code written against the open Mapbox GL JS API.

Bad

  • It is only a renderer: you must host tiles or pick a provider, and supply fonts, geocoding and routing yourself.
  • Heavier and more complex than Leaflet, and slower than Leaflet or OpenLayers for small datasets.
  • v6 went ESM-only and requires WebGL2, which breaks older setups that used the UMD or CSP builds.
  • Alternate projections and custom map coordinate systems (CRS) are still on the roadmap; OpenLayers handles them better today.

The numbers

npm downloads, 4 weeks
40M ×11 in a year
GitHub stars
12k
Commits, 12 months
1.6k
npm version
6.19.0 Nov 2026
Versions, 12 months
39
Advisories, 24 months
1 of 1 ever
OpenSSF Scorecard
6.6 out of 10, Aug 2022
Licence
BSD-3-Clause

Read on 21 November 2026 from GitHub (maplibre/maplibre-gl-js), npm (maplibre-gl), OSV and the OpenSSF Scorecard.

Map libraries

  1. 8.5MapLibre GL JS
  2. 7.9OpenLayers
  3. 7.9CesiumJS
  4. 7.7deck.gl
  5. 7.6Leaflet
  6. 7.6Turf
  7. 7.4PMTiles
  8. 7.4react-map-gl
Compare all 8 on six scores