maplibre-gl
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
Last updated a year ago by maplibreorg .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ npm install maplibre-gl 
SYNC missed versions from official npm registry.

MapLibre Logo

MapLibre GL JS

License Version CI PRs codecov

MapLibre GL JS is an open-source library for publishing maps on your websites or webview based apps. Fast displaying of maps is possible thanks to GPU-accelerated vector tile rendering.

It originated as an open-source fork of mapbox-gl-js, before their switch to a non-OSS license in December 2020. 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.

Getting Started

Include the JavaScript and CSS files in the <head> of your HTML file.

<script src='https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.js'></script>
<link href='https://unpkg.com/maplibre-gl@latest/dist/maplibre-gl.css' rel='stylesheet' />

Include the following code in the <body> of your HTML file.

<div id='map' style='width: 400px; height: 300px;'></div>
<script>
var map = new maplibregl.Map({
  container: 'map',
  style: 'https://demotiles.maplibre.org/style.json', // stylesheet location
  center: [-74.5, 40], // starting position [lng, lat]
  zoom: 9 // starting zoom
});
</script>

Enjoy the map!


Documentation

Full documentation for this library is available here.

Check out the features through examples.

Showcases
Display a map Third party vector tile source
Animate a series of images Create a heatmap layer
3D buildings Visualize population density

Want an example? Have a look at the official MapLibre GL JS Documentation.

Use MapLibre GL JS bindings for React (https://visgl.github.io/react-map-gl/docs/get-started/get-started#using-with-a-mapbox-gl-fork) and Angular (https://github.com/maplibre/ngx-maplibre-gl). Find more at awesome-maplibre.


Contribution

Getting Involved

Join the #maplibre slack channel at OSMUS: get an invite at https://slack.openstreetmap.us/ Read the CONTRIBUTING.md guide in order to get familiar with how we do things around here.

Community Leadership

You can find the official status of the backing community and steering committee in the COMMUNITY.md document.

Avoid Fragmentation

If you depend on a free software alternative to mapbox-gl-js, please consider joining our effort! Anyone with a stake in a healthy community-led fork is welcome to help us figure out our next steps. We welcome contributors and leaders! MapLibre GL JS already represents the combined efforts of a few early fork efforts, and we all benefit from "one project" rather than "our way". If you know of other forks, please reach out to them and direct them here.

MapLibre GL JS is developed following Semantic Versioning (2.0.0).

Bounties

We offer Bounties for some tasks in the MapLibre GL JS repo. Read more about the Bounties in our step-by-step guide:

https://maplibre.org/roadmap/step-by-step-bounties-guide/

And find all currently published Bounties in MapLibre GL JS here.


Sponsors

We thank everyone who supported us financially in the past and special thanks to the people and organizations who support us with recurring donations!

Read more about the MapLibre Sponsorship Program at https://maplibre.org/sponsors/.

Platinum:

Logo AWS

Gold:

Logo Meta

Silver:

Logo MIERUNE

Logo komoot

Logo JawgMaps

Logo Radar

Backers and Supporters:


Thank you Mapbox 🙏🏽

We'd like to acknowledge the amazing work Mapbox has contributed to open source. The open source community is sad to part ways with them, but we simultaneously feel grateful for everything they already contributed. mapbox-gl-js 1.x is an open source achievement that now lives on as maplibre-gl. We're proud to develop on the shoulders of giants, thank you Mapbox 🙇🏽‍♀️.

Please keep in mind: Unauthorized backports are the biggest threat to the MapLibre project. It is unacceptable to backport code from mapbox-gl-js, which is not covered by the former BSD-3 license. If you are unsure about this issue, please ask!


License

MapLibre GL JS is licensed under the 3-Clause BSD license.

Current Tags

  • 4.7.1                                ...           latest (3 months ago)
  • 5.0.0-pre.9                                ...           next (16 days ago)
  • 1.15.3                                ...           v1 (3 years ago)

115 Versions

  • 5.0.0-pre.9                                ...           16 days ago
  • 5.0.0-pre.8                                ...           a month ago
  • 5.0.0-pre.7                                ...           a month ago
  • 5.0.0-pre.6                                ...           2 months ago
  • 5.0.0-pre.5                                ...           2 months ago
  • 5.0.0-pre.4                                ...           2 months ago
  • 5.0.0-pre.3                                ...           2 months ago
  • 5.0.0-pre.2                                ...           2 months ago
  • 5.0.0-pre.1                                ...           3 months ago
  • 4.7.1                                ...           3 months ago
  • 4.7.0                                ...           4 months ago
  • 4.6.0                                ...           4 months ago
  • 4.5.2                                ...           4 months ago
  • 4.5.1                                ...           5 months ago
  • 4.5.0                                ...           6 months ago
  • 4.4.1                                ...           6 months ago
  • 4.4.0                                ...           6 months ago
  • 4.3.2                                ...           7 months ago
  • 4.3.1                                ...           7 months ago
  • 4.3.0                                ...           7 months ago
  • 4.2.0                                ...           8 months ago
  • 4.1.3                                ...           8 months ago
  • 4.1.2                                ...           9 months ago
  • 4.1.1                                ...           9 months ago
  • 4.1.0                                ...           10 months ago
  • 4.0.2                                ...           10 months ago
  • 4.0.1                                ...           10 months ago
  • 4.0.0                                ...           a year ago
  • 4.0.0-pre.6                                ...           a year ago
  • 4.0.0-pre.5                                ...           a year ago
  • 4.0.0-pre.4                                ...           a year ago
  • 4.0.0-pre.3                                ...           a year ago
  • 4.0.0-pre.2                                ...           a year ago
  • 4.0.0-pre.1                                ...           a year ago
  • 3.6.2                                ...           a year ago
  • 3.6.1                                ...           a year ago
  • 3.6.0                                ...           a year ago
  • 3.5.2                                ...           a year ago
  • 3.5.1                                ...           a year ago
  • 3.5.0                                ...           a year ago
  • 3.4.1                                ...           a year ago
  • 3.4.0                                ...           a year ago
  • 3.3.1                                ...           a year ago
  • 3.3.0                                ...           a year ago
  • 3.2.2                                ...           a year ago
  • 3.2.1                                ...           a year ago
  • 3.2.0                                ...           a year ago
  • 3.2.0-pre.3                                ...           a year ago
  • 3.2.0-pre.2                                ...           a year ago
  • 3.2.0-pre.1                                ...           a year ago
  • 3.1.0                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 3.0.0-pre.9                                ...           2 years ago
  • 3.0.0-pre.8                                ...           2 years ago
  • 3.0.0-pre.7                                ...           2 years ago
  • 3.0.0-pre.6                                ...           2 years ago
  • 3.0.0-pre.5                                ...           2 years ago
  • 3.0.0-pre.4                                ...           2 years ago
  • 3.0.0-pre.3                                ...           2 years ago
  • 3.0.0-pre.2                                ...           2 years ago
  • 3.0.0-pre.1                                ...           2 years ago
  • 3.0.0-pre.0                                ...           2 years ago
  • 2.4.0                                ...           2 years ago
  • 2.3.1-pre.2                                ...           2 years ago
  • 2.3.1-pre.1                                ...           2 years ago
  • 2.3.0                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.2.0-pre.4                                ...           2 years ago
  • 2.2.0-pre.3                                ...           3 years ago
  • 2.2.0-pre.2                                ...           3 years ago
  • 2.2.0-pre.1                                ...           3 years ago
  • 1.15.3                                ...           3 years ago
  • 2.1.9                                ...           3 years ago
  • 2.1.8                                ...           3 years ago
  • 2.1.8-pre.3                                ...           3 years ago
  • 2.1.8-pre.2                                ...           3 years ago
  • 2.1.8-pre.1                                ...           3 years ago
  • 2.1.7                                ...           3 years ago
  • 2.1.6                                ...           3 years ago
  • 2.1.6-pre.1                                ...           3 years ago
  • 2.1.5 [deprecated]           ...           3 years ago
  • 2.1.5-pre.1                                ...           3 years ago
  • 2.1.4 [deprecated]           ...           3 years ago
  • 2.1.3 [deprecated]           ...           3 years ago
  • 2.1.2 [deprecated]           ...           3 years ago
  • 2.1.1                                ...           3 years ago
  • 2.1.0                                ...           3 years ago
  • 2.0.5                                ...           3 years ago
  • 2.0.4                                ...           3 years ago
  • 2.0.3                                ...           3 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 2.0.0-pre.6                                ...           3 years ago
  • 2.0.0-pre.5                                ...           3 years ago
  • 2.0.0-pre.4                                ...           3 years ago
  • 2.0.0-pre.3                                ...           3 years ago
  • 2.0.0-pre.2                                ...           3 years ago
  • 2.0.0-pre.1                                ...           3 years ago
  • 1.15.2                                ...           3 years ago
  • 1.15.1                                ...           3 years ago
  • 1.15.0                                ...           3 years ago
  • 1.14.1-rc.2                                ...           4 years ago
  • 1.14.1-rc.1                                ...           4 years ago
  • 1.14.0                                ...           4 years ago
  • 1.14.0-rc.1                                ...           4 years ago
  • 1.13.0-rc.5                                ...           4 years ago
  • 1.13.0-rc.4                                ...           4 years ago
  • 1.13.0-rc.3                                ...           4 years ago
  • 1.13.0-rc.2                                ...           4 years ago
  • 1.13.0-rc.1                                ...           4 years ago
  • 1.13.0-rc.0                                ...           4 years ago
  • 0.0.0                                ...           4 years ago
Downloads
Total 3
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (90)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE