Plotting¶
- map_flight_lines(flight_lines, center=None, zoom_start=6, line_color='blue', line_weight=3)[source]¶
Create an interactive folium map displaying a list of FlightLine objects.
- Parameters:
flight_lines (List[FlightLine]) – List of FlightLine objects to display.
center (tuple, optional) – A tuple (latitude, longitude) to center the map. If None, the center is computed as the average of the start points.
zoom_start (int, optional) – Initial zoom level for the map (default is 6).
line_color (str, optional) – Color for the flight lines (default is “blue”).
line_weight (int, optional) – Thickness of the flight lines (default is 3).
- Returns:
A folium Map object with the flight lines added.
- Return type:
folium.Map