I’ve made a map figure with a go.Scattermap trace and it was simple and looks very nice (thanks!). I’m wondering if I can now add things to the map, e.g., lines drawn between points? I can see how to do this with Scattergeo but not Scattermap. I really like the Scattermap maps (including the cluster feature), but I like the Scattergeo maps less so. Maybe I could use mapbox, but that’s deprecated and so I don’t want to go that way. I can see one example use of line_geo at Map configuration and styling on geo maps in Python but the line_geo function is part of px and it creates a Figure, so it’s also not what I’m after.
Are you referring to connecting discrete points with each other? This should be possible with adding shapes. If you are after a line plot, you can just do:
Hi, thanks. I did try markers+lines, but that’s not what I’m after. I want to programmatically determine some locations on the map and draw lines between them. Just like putting some lines on a regular plot, but here using lat/long coordinates.