-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to MapLibre #7015
Migrate to MapLibre #7015
Conversation
Most/all examples run fine already in the |
This reverts commit a136a89.
Many things are working. Mainly wrestling some openmaptiles fonts at this point - missing fonts like the Arial MS one is breaking the baseline test suites. It's probably better to use the very complete Noto in that case. |
the publish-dist suite gives errors because of the es5 compile target: /home/circleci/plotly.js/dist/plotly-with-meta.js
184628:3558 error Parsing error: The keyword 'let' is reserved
/home/circleci/plotly.js/dist/plotly.js
182907:3558 error Parsing error: The keyword 'let' is reserved Resolved by |
@birkskyum This clearly demonstrates the migration to Thanks very much for the PR. 🏆 |
Hi @birkskyum, Plotly.newPlot(gd, {
data: [{
type: "scattermapbox",
mode: "markers+text+lines",
lon: [-75, -80, -50],
lat: [45, 20, -20],
marker: {
size:20,
symbol: ["bus", "harbor", "airport"]
}
}]
}); Could you possibly send a PR targeting #7060's branch? |
pr here: |
see also #7060 |
Thanks @birkskyum 🏆 |
Seconding the thanks! @birkskyum as you know we're really grateful for your contribution and super excited about the move to MapLibre as the rendering service for Plotly map traces. Cheers! |
@birkskyum For now these number of commits simply put you at #25 on the contributors list of all time! And third in the last year! |
This PR :
@plotly/mapbox-gl
formaplibre-gl
, as suggested here.I was asked to explain the advantages of using maplibre over mapbox v1 (like the plotly fork), or mapbox v2+, which are:
advantages over
mapbox-gl
v1 or a fork of it like@plotly/mapbox-gl
here are contribution graphs, with the area approx. marked after the fork, to visually represent the scale of shared continuous investments:
@plotly/mapbox-gl ( 11 PR's )
maplibre-gl ( 2000+ PR's)
advantages over
mapbox-gl
v2+maplibre-gl
andmapbox-gl v1
are rendering libraries wheremapbox-gl v2
is a rendering service. Both can be paired with data/styles from local files or services, but the difference is that by staying a renderer library, maplibre itself is free to use, and will run without an api key. This has multiple advantages:closing #5578