Skip to content
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

6.0.0: Usage of maplibre with mapstyle 'carto-positron' lacks street names #5013

Open
quikssb opened this issue Feb 6, 2025 · 0 comments
Open

Comments

@quikssb
Copy link

quikssb commented Feb 6, 2025

Updated plotly from 5.17 to 6.0.0. In that context I switched from scattermapbox to scattermap (maplibre rendering engine), as recommended. Mapstyle is carto-positron.

After doing this, maps on city scale started to show less street labels, see attached screenshots:

scattermapbox; old rendering engine
scattermap; maplibre rendering engine

Code (using maplibre):

fig = go.Figure()
# [...]
fig.update_layout(
            # [...] other properties
            map_style="carto-positron",
            map = dict(
                zoom = 0,
                bounds = bounding_rect,
            ),
        )

Goal: I want to keep the map style, but also have street labels shown as before (without modifying the zoom of the map).

Question: What options do exist to achieve my goal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant