How to add tile layers to scattermapbox?

I want to add tile layers to a scattermapbox.

E.g. in with open layers JS

gust = new ol.layer.Tile({
  opacity: 0.6,
  source: new ol.source.XYZ({
  url: 'http://weatheroo.net/wordpress/gust/'+imagecounter+'/{z}/{y}/{x}.png'
  })
});

Maybe this is a new feature but if you know a solution with python api it would be great if you share it with me.

Hi @meteoDan,

It looks like the currently supported MapBox layer types are "circle", "line", "fill", and "symbol". (See https://plot.ly/python/reference/#layout-mapbox-layers-items-layer-type)

So I don’t think it’s currently possible to add a png layer. Feel free to open a feature request with the plotly.js project. I actually just opened one today for heatmap layers (https://github.com/plotly/plotly.js/issues/3110).

-Jon

1 Like

Great news to all of you guys waiting for that feature:

Here we are! Great future.