Skip to content

Add medium/small/military airports and configurable map toggles - #103

Open
Estebanp2005 wants to merge 13 commits into
MatixYo:mainfrom
Estebanp2005:main
Open

Estebanp2005 wants to merge 13 commits into
MatixYo:mainfrom
Estebanp2005:main

Conversation

@Estebanp2005

Copy link
Copy Markdown

The remaining airports were added, along with an option at http://plane-radar.local/param to enable or disable their display.
{DF70CB15-0B03-43A3-80E6-AEFE8C7BB2A1}

I am having trouble activating the parameters when saving them; when using save and /saveparam to send the data, the checkboxes for Large Airports, Medium Airports, Small Airports, and Military Bases fail to reactivate. I need help resolving this final issue.

This change adds persisted airport-type visibility filters for large, medium, small, and military airports. The values are loaded from NVS on startup, can be edited from the WiFi portal, and are reset when WiFi settings are cleared. It also updates the runway dataset builder to support multiple airport types and wires the filters into the airport overlay rendering path.
The refreshPortalParamValues() function wasn't properly updating the HTML
attributes for the airport filter checkboxes. This caused the portal to show
all checkboxes unchecked even when they were saved as checked.

The fix properly updates the checkbox attributes based on the current state
from airport_filters::show*() functions before the portal refreshes.
…tate

Set default generated runway dataset to include medium airports as we…
@Estebanp2005 Estebanp2005 changed the title Medium-sized, small, and military airports were added Add medium/small/military airports and configurable map toggles Oct 3, 2026
@distanzcheck

Copy link
Copy Markdown

These selection fields don't show up for me at all.

grafik

@Estebanp2005

Estebanp2005 commented Oct 3, 2026 •

Copy link
Copy Markdown
Author

These selection fields don't show up for me at all.

grafik

Okay, starting from the latest release, I’ve downloaded my fork again and installed it to check this out.

Please note that, due to the issue encountered, the firmware cannot be loaded via OTA. OTA via the portal's Update page always fails — partition table has no second app slot #102

To load the firmware, I opened VS Code and compiled and uploaded it using PlatformIO; I also included the firmware-merged.bin file—which I had initially overlooked—so it could be loaded as a binary file.
I re-uploaded the firmware and the parameters are showing up correctly; please check your upload.
{B9810E6B-5CAE-4AC0-BB7C-6DA0BA40F5CE}
Even so, it still isn't working; I'm missing some detail, but I don't know what it is.

And sorry for the lack of professionalism; this is my first time creating a fork and trying to add or fix something.

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