Using plotlyjs geo projection - the examples here show each trace being defined like
{
type: ‘scattergeo’,
lat: [all lats],
lon: [all lons],
mode: ‘lines’
}
This creates a separate trace for each line shown on the projection. I’d like to have several non-continuous lines in the same trace for filtering purposes. Is this possible with plotlyjs?
I’m using plotly to visualize complex networks, and was having the same problem where the line would connect every consecutive node (so all edges were a single line). Multiple traces was too slow, this worked like a charm!