JSPM

  • Created
  • Published
  • Downloads 880479
  • Score
    100M100P100Q198183F
  • License BSD-3-Clause

BSD licensed community fork of mapbox-gl, a WebGL interactive maps library

Package Exports

  • maplibre-gl
  • maplibre-gl/dist/maplibre-gl.css
  • maplibre-gl/src/shaders/index.js
  • maplibre-gl/src/shaders/shaders.js
  • maplibre-gl/src/util/browser/web_worker.js
  • maplibre-gl/src/util/browser/window.js
  • maplibre-gl/src/util/web_worker.js
  • maplibre-gl/src/util/window.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (maplibre-gl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

MapLibre GL

MapLibre GL is a community led fork derived from mapbox-gl-js prior to their switch to a non-OSS license.

Migrating from mapbox-gl

If you depend on mapbox-gl directly, simply replace mapbox-gl with maplibre-gl in package.json:

  "dependencies": {
-    "mapbox-gl": "^1.13.0"
+    "maplibre-gl": ">=1.14.0"
  }

And replace mapboxgl with maplibregl in your JavaScript code:

-    var map = new mapboxgl.Map({
+    var map = new maplibregl.Map({

Want an example? Try out MapLibre GL on CodePen and have a look at ones in the official MapLibre GL JS Documentation.

If you use mapbox-gl via bindings (react, vue, etc), you may need to wait a little longer as we develop an easy migration path for each binding. Contributions welcome!

Roadmap

This project's initial plans are outlined in the Roadmap project. The primary goal is consistency and backwards-compatability with previous releases and continued bug-fixes and maintenance going forward.

Getting Involved

Join the #maplibre slack channel at OSMUS: get an invite at https://osmus-slack.herokuapp.com/

Community Leadership

The official status of the backing community and steering committee can be found 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 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.

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 achievment which now lives on as maplibre-gl. We're proud to develop on the shoulders of giants, thank you Mapbox 🙇🏽‍♀️

License

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