Skip to content

Add more projection options to MapLibre map layers #6591

Open

Description

@wybert

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

Activity

  1. alexcjohnson commented on May 5, 2023

    @alexcjohnson
    Collaborator

    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

  2. this-josh commented on Jun 18, 2023

    @this-josh

    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?

  3. archmoj commented on Jun 19, 2023

    @archmoj
    Contributor

    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?

  4. this-josh commented on Jul 27, 2023

    @this-josh

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

  5. griff-rees commented on Nov 26, 2023

    @griff-rees
  6. birkskyum commented on Jun 1, 2024

    @birkskyum
    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.

  7. archmoj commented on Jun 5, 2024

    @archmoj
    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.

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

  8. removed their assignment
    on Jun 18, 2025
  9. SterlingButters commented on Oct 29, 2025

    @SterlingButters
  10. changed the title [-]Add more projection options to Mapbox map layers in Python[/-] [+]Add more projection options to MapLibre map layers[/+] on Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions