Skip to content

Ensure legend shows subway/light rail train protection in view#867

Merged
hiddewie merged 1 commit intomasterfrom
legend-filter-train-protection-view
Mar 20, 2026
Merged

Ensure legend shows subway/light rail train protection in view#867
hiddewie merged 1 commit intomasterfrom
legend-filter-train-protection-view

Conversation

@hiddewie
Copy link
Owner

@hiddewie hiddewie commented Mar 20, 2026

The type of rail was taken into account for filtering the legend. The legend only contains railway = rail features, so all of the subway and light rail rail features on the map were not shown in the legend because their keys did not match.

Tested in http://localhost:8000/#view=15.58/40.736959/-74.164143&style=signals:
image

@hiddewie hiddewie marked this pull request as ready for review March 20, 2026 19:30
@hiddewie hiddewie enabled auto-merge (squash) March 20, 2026 19:33
@hiddewie hiddewie merged commit 814d3e5 into master Mar 20, 2026
2 checks passed
@hiddewie hiddewie deleted the legend-filter-train-protection-view branch March 20, 2026 19:33
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