🏥 🏭 Working on the COVID-19 response in Canada? Plotly & the Canadian government can help you and your organization. Learn more and get in touch.

Scattermapbox scale bar

Hi,

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.

Cheers,

Greg

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…