Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map: factor out methods for displaying vehicle on map #1407

Merged

Conversation

peterbarker
Copy link
Contributor

Notably this removes the vehicle icon from the map when you change the map settings.

So if you map set showgpspos 0 then the GPS icon will disappear, rather than just not be updated. Similary for ahrspos, simpos etc etc.

This factoring should also allow us to add another map setting to add text to each icon to make it clear what it is representing, eg.

image

@tridge tridge merged commit 82b73c9 into ArduPilot:master Jun 26, 2024
2 checks passed
@peterbarker peterbarker deleted the pr/map-factor-vehicle-icon-stuff branch July 12, 2024 03:41
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.

2 participants