Scattermapbox scale bar


Is there a way to add a scale bar (showing distance on the map, not the color scale bar for a rendered layer) to a Scattermapbox plot? There is a place in the Mapbox JavaScript but I can’t locate a corresponding hook in the python plotly documentation.



Hi, did you figure out a way to do it? I’m using R and I have the same question.

No, I haven’t figured it out yet, it’s lower priority that other features that we are working on. I imagine that it would require diving into the JavaScript and adding a hook there…