-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
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
Labels
No labels