Skip to content

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

@quikssb

Description

@quikssb

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions