Libraries for interactive web maps and geospatial visualization, from tiled slippy maps with markers to GPU-rendered layers with millions of points, 3D globes and choropleths.

Leaflet is the lightweight standard for 2D tiled maps. Deck.gl and L7 render large geospatial datasets with WebGL, and Cesium focuses on 3D globes and terrain. For a choropleth of countries or regions, an SVG map such as DataMaps may be all you need.

By GitHub stars, the most popular JavaScript mapping libraries here are Leaflet (45.7K stars), Cesium (15.8K stars), and Deck.gl (14.6K stars). 13 of 19 had commits in the last 90 days.

JavaScript map & geospatial visualization libraries, ranked by GitHub stars
1 Leaflet

JavaScript library for mobile-friendly interactive maps.

45.7K 184 BSD-2-Clause
2 Cesium

WebGL 3D globes and maps.

15.8K 3,159 Apache-2.0
3 Deck.gl

WebGL framework for visual exploratory data analysis of large datasets.

14.6K 418 MIT
4 OpenLayers

Library for interactive web maps with support for many data sources, formats and projections.

12.6K 827 BSD-2-Clause
5 MapLibre GL JS

WebGL-based interactive vector tile maps in the browser; community fork of Mapbox GL JS.

11.8K 1,416 BSD-3-Clause
6 react-map-gl

React components for MapLibre GL JS and Mapbox GL JS, maintained by vis.gl.

8.5K 20 MIT
7 Potree

WebGL point cloud viewer for large datasets such as LiDAR scans.

5.6K 1 Other
8 maptalks.js

Pluggable JavaScript library for integrated 2D/3D maps.

4.5K 293 BSD-3-Clause
9 L7

Large-scale WebGL-powered Geospatial Data Visualization analysis framework, maintained by Alibaba

4.1K 112 MIT
10 DataMaps

Interactive SVG maps using D3.js.

3.8K 1 MIT
11 React Simple Maps

Composable SVG map charts for React, based on d3-geo and TopoJSON.

3.4K 18 MIT
12 globe.gl

UI component for globe data visualization using Three.js/WebGL.

3.2K 20 MIT
13 Mapael Inactive

JQuery plugin based on raphael.js to display vector maps.

1K 0 MIT
14 Pharos AI

Open-source OSINT conflict-tracking dashboard with geospatial visualization using Deck.gl, MapLibre, and React. (Source Code)

182 477 AGPL-3.0
15 L7 Plot Inactive

Geospatial Visualization Chart Library, maintained by Alibaba

91 0 MIT
16 Dipper Archived

Map application development framework powered by L7, maintained by Alibaba.

29 0 MIT
17 VectorAtlas

Free, 80KB SVG world map with one path per country, id-keyed by ISO 3166-1 alpha-2 code, ready for choropleths.

5 11 CC-BY-4.0
18 Globedots

Dot-matrix WebGL2 globe in 17 kB with markers, arcs, labels, heat maps, and a day-night line.

1 33 MIT
19 CanvasGlobe

Interactive Canvas 2D globes and flat world maps for JavaScript and React.

0 109 Other

Head-to-head comparisons

Related topics

Related categories

Frequently asked questions

What is the most popular JavaScript mapping library?

By GitHub stars, Leaflet is the most popular, with 45.7K stars, followed by Cesium (15.8K) and Deck.gl (14.6K).

Which JavaScript mapping libraries are actively maintained?

16 of the 19 tools listed had commits in the last 12 months, including Leaflet, Cesium, Deck.gl, OpenLayers, and MapLibre GL JS. Each tool page shows monthly commit activity.

Are these JavaScript mapping libraries free and open source?

16 of the 19 tools listed use an OSI-approved open-source license; the others are source-available, free to use, or use a custom license, so check each tool page. The most common license here is MIT.

Missing a tool? Add it with a one-line pull request to the README.