You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/python/lines-on-maps.md
+27
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,33 @@ fig.update_layout(
111
111
112
112
fig.show()
113
113
```
114
+
### High performance US Flight Paths Map
115
+
If you can relinquish having individual styles for the flight paths (e.g. opacity), you can put multiple paths into one trace, which makes the map render much faster.
116
+
117
+
Use ```None``` between path coordinates to create a break in the otherwise connected paths.
118
+
119
+
```python
120
+
# ... omitted code: look at the previous "US Flight Paths Map" example
121
+
lons = []
122
+
lats = []
123
+
for i inrange(len(df_flight_paths)):
124
+
# None interrupts lines and makes it possible to draw multiple disconnected lines.
0 commit comments