talira

Mapbox GL JS

JavaScript library for interactive vector maps with Mapbox

source availableMapbox Web SDK licence (Mapbox Terms of Service)

Mapbox GL JS is Mapbox's client-side JavaScript library for interactive vector maps in the browser, rendered with WebGL from vector tiles and styled with the Mapbox Style Specification. It adds layers, camera control, your own data and interactivity, and works with Mapbox's web services and JavaScript frameworks. Since version 2 its source is public but licensed under the Mapbox Terms of Service for use only with a Mapbox account; MapLibre GL JS is the open source fork of version 1.

Problems it solves

  • render fast, interactive vector maps in a web app
  • style a custom map for my website and add my own data layers
  • a 3D-capable web map library that works with Mapbox's map styles

Features

  • WebGL rendering of vector tiles
  • custom map styles with the Mapbox Style Specification
  • layers, camera control and interactivity
  • works with Mapbox web services and JavaScript frameworks

Forks

  • MapLibre GL JS Open-source TypeScript library for interactive vector tile maps in the browser. Its own project since 2020.

Alternatives

The same job

These do what Mapbox GL JS does.

  1. MapLibre GL JS Open-source TypeScript library for interactive vector tile maps in the browser
  2. CesiumJS Open source JavaScript library for 3D globes and 2D maps in the browser
  3. OpenLayers High-performance JavaScript library for interactive web maps
  4. Leaflet The leading open-source JavaScript library for interactive maps
  5. mapcn Free, customisable map components for React, built on MapLibre GL and styled like shadcn/ui
  6. deck.gl GPU-powered framework for large-scale data and geospatial visualization

Compare Mapbox GL JS with the top 3