KSP-DeltaV-Planner icon indicating copy to clipboard operation
KSP-DeltaV-Planner copied to clipboard

Prototype: Interactive SVG map

Open GDur opened this issue 1 year ago • 2 comments

Hello

This fork will make the SVG map interactive. This means the destination AstroBody circles and labeles are clickable. As a hint, the "from" and "to" Dropdown menus have been removed visually.

The code is only a prototype/proof of concept, so it is not bullet proof atm.

Let's first see if this is a feature which other users find as desirable as I do. :)

Thank you for reviewing this fork.

Gregor

GDur avatar Mar 20 '23 12:03 GDur

Thank you for your work, I think it can be a promising idea. I will look into your PR when I find the time.

LoicViennois avatar Mar 21 '23 09:03 LoicViennois

Thank you for your great contribution. Starting from your code I created a version where we can select a destination with landing or not:

  • I made only the 'ground' and 'low-orbit' elements clickable to correspond to the path in the panel selection image
  • The 'landing' checkbox is automatically checked or not following mouse selection
  • I kept the right panel selection, I prefer this way for now, especially since the mobile version shows only the panel, and not the map

Branch: https://github.com/LoicViennois/KSP-DeltaV-Planner/tree/interactive

Feel free to test and give your feedback if you have time.

LoicViennois avatar May 01 '23 11:05 LoicViennois