Is it possible to use a source other than mapbox with Plotly maps

Hi,

I’m trying to add the scattergeo charts to a project, but would rather use more detailed maps than the default. I don’t want to use mapbox and would rather use something like leaflet, openlayers or even just openstreetmap. Is there a way to set the default map? I couldn’t find any examples or way of doing it in the docs.

Thanks!

If anyone else encounters this, there are some options in scattermapbox type. One can change it in the mapbox.style attribute in the layout. https://plotly.com/javascript/mapbox-layers/

1 Like