Black Lives Matter. Please consider donating to Black Girls Code today.

Mapbox spherical map

Is there a way to change the mapbox’s maps to be in a globe shape?

Hi @rasika the mapbox library only supports the Mercator projection, see https://docs.mapbox.com/help/how-mapbox-works/mapbox-data/#mapbox-map-projections. On the other hand other plotly map functions support multiple types of projections, for example https://plot.ly/python-api-reference/generated/plotly.express.scatter_geo.html

1 Like

Hi @rasika,

Here are two examples of spherical maps: https://plot.ly/~empet/14813

https://plot.ly/~empet/15245

2 Likes