Skip to content

Tile Layer place holder not working right. #2272

@meteoDaniel

Description

@meteoDaniel

I am using a tile layer and plotly scattermapbox is not able to source the z, x, and y images. I hope anyone can help me.

  tile_source = "https://api.meteointelligence.com/radar/data/2020/03/12/16/45/{z}/{x}/{y}.png"
    fig.update_layout(
        mapbox=go.layout.Mapbox(
            bearing=0,
            center=go.layout.mapbox.Center(
            lat=lat,
            lon=lon
        ),
            pitch=0,
        zoom=zoom),
    margin = {"r": 0, "t": 0, "l": 0, "b": 0},
    mapbox_style = "open-street-map",
    mapbox_layers = [
        {
            "below": 'traces',
            "sourcetype": "raster",
            "source": [
                tile_source
            ]
        },
    ])

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