Skip to content

ENH: add Folium interactive flight trajectory map (#963) - #1132

Open
thatrandomasiandev wants to merge 1 commit into
RocketPy-Team:developfrom
thatrandomasiandev:enh/963-folium-trajectory-map
Open

ENH: add Folium interactive flight trajectory map (#963)#1132
thatrandomasiandev wants to merge 1 commit into
RocketPy-Team:developfrom
thatrandomasiandev:enh/963-folium-trajectory-map

Conversation

@thatrandomasiandev

Copy link
Copy Markdown

Summary

  • Add Flight.plots.trajectory_on_map() using optional Folium to render an interactive HTML map of the ground track with launch and landing markers.
  • Introduce a maps optional dependency extra (folium) and include it in rocketpy[all].
  • Add unit tests that mock Folium when absent and exercise real HTML export when Folium is installed.

Fixes #963

Test plan

  • PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 pytest tests/unit/test_flight_trajectory_map.py
  • Smoke: flight.plots.trajectory_on_map(filename="traj.html") opens in a browser with path + markers

@thatrandomasiandev
thatrandomasiandev requested a review from a team as a code owner August 11, 2026 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant