Skip to content

Add more projection options to Mapbox map layers in Python #6591

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

Open
wybert opened this issue May 4, 2023 · 7 comments
Open

Add more projection options to Mapbox map layers in Python #6591

wybert opened this issue May 4, 2023 · 7 comments
Assignees
Labels
feature something new P3 backlog

Comments

@wybert
Copy link

wybert commented May 4, 2023

I am not sure if I should put this feature request should be here or in Plotly.py I put one in Plotly.py plotly/plotly.py#4189 (comment)

Hi, I would like to see projection support in Mapbox map layers like, px.scatter_mapbox, such as 'globe' projection (which will make a tile-based 3d globe map). I noticed that Plotly is integrated with Mapbox-gl, and the Mapbox-GL support different projections, so it should be easy to have this option in Plotly. It looks like it's already supported in scatter_geo (see the doc)but not Mapbox layers.

See projections support in Mapbox-GL here. See what's looks like with projection here,
image
image

@alexcjohnson
Copy link
Collaborator

alexcjohnson commented May 5, 2023

According to their docs page you linked:

Starting from v2.6, Mapbox GL JS supports multiple map projections.

Unfortunately we can't advance beyond v1.x of mapbox-gl because they changed their license to one that's incompatible with use in libraries like ours. You can read more about this here: https://www.geoapify.com/mapbox-gl-new-license-and-6-free-alternatives

@alexcjohnson alexcjohnson closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2023
@this-josh
Copy link

MapLibre is an open-source continuation of Mapbox v1. Incidentally, they have recently released a bounty for a map view . Would Plotly ever consider replacing Mapbox with MapLibre?

@archmoj archmoj reopened this Jun 19, 2023
@archmoj
Copy link
Contributor

archmoj commented Jun 19, 2023

MapLibre is an open-source continuation of Mapbox v1. Incidentally, they have recently released a bounty for a map view . Would Plotly ever consider replacing Mapbox with MapLibre?

That's interesting.
@this-josh Are you interested in submitting a PR request?

@this-josh
Copy link

Sorry I looked into this and don't believe I'm able to at the moment.

@griff-rees
Copy link

See #5578 and plotly/Plotly.NET#282 (comment)

@birkskyum
Copy link
Contributor

@archmoj , there is some projection support now in MapLibre https://maplibre.org/maplibre-style-spec/projection/ , starting with experimental globe mode (update on that in the May newsletter here).

Let me know if you need anything for a migration to MapLibre.

@archmoj
Copy link
Contributor

archmoj commented Jun 5, 2024

@archmoj , there is some projection support now in MapLibre https://maplibre.org/maplibre-style-spec/projection/ , starting with experimental globe mode (update on that in the May newsletter here).

Let me know if you need anything for a migration to MapLibre.

Thanks @birkskyum for the note.
Please feel free to open a pull request.
cc: #5578

@archmoj archmoj added the feature something new label Jun 5, 2024
@gvwilson gvwilson added the P3 backlog label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

8 participants