Repository navigation
Add IATA code as Airport label on zoom 12-14 - #56
CharliePlett wants to merge 0 commit into
Conversation
|
If this gets approved then the icao= and iata= would need to be added to the vtiles for this to take effect. |
There was a problem hiding this comment.
This appears to drop the Airport icon entirely. Is that intentional?
I'm looking at SFO, https://localhost:8888/#13/37.62525/-122.38144, using our current version of staging and one to three airplanes appear from zoom ~10-14. I don't see any airplanes using your branch. I also don't see any IATA code; the only text that appears relates to taxiways and "San Francisco International Airport", and those begin to display at zoom 13.
|
Seems exposing the data is still pending in OpenHistoricalMap/issues#1314 |
|
I'm pretty sure the icon was showing when I created the pull request. Did something else change over time? |
|
I cloned your repo and am running your staging branch directly. I'd suspect that dropping
is the cause. |
|
Can you fix it? |
|
I messed up and accidentally moved my latest cemeteries commit into this pull request. |
The tiles should be ready for this change now.
I think the issue is that you cut these PRs from your copy of the staging branch. Whenever you make a fork, you should create a branch off of the default branch for anything you want to PR. Otherwise, your PRs get intermingled by accident. Unfortunately it isn’t possible to fix this from our end, so either everything needs to be in good shape to merge (even if unrelated), or you need to close the PR and open a new one with a different branch. |
|
It should be in good shape to merge. If not, then I'll do whatever needs to be done. |
| "filter": ["==", ["get", "type"], "aerodrome"], | ||
| "layout": { | ||
| "icon-image": "airport-18", | ||
| "icon-size": ["interpolate", ["linear"], ["zoom"], 10, 1.2, 14, 1.5], |
There was a problem hiding this comment.
Was this deletion intentional? Without it, airport icons would be smaller than before.
There was a problem hiding this comment.
I don't think it was intentional, but it's been a few months since I did that, so I'm not sure.
|
Oops, I tried to force-push a rebase of this branch, but it ended up force-pushing the main repository’s staging branch onto your fork, closing this pull request. Now I can’t force-push the rebased branch because the link between this PR and your staging branch has been broken. I’ll push the changes directly to the main repository. |
|
I didn’t realize the cemetery pattern applies to all cemeteries regardless of religion (or the lack thereof). We need to make the pattern more sensitive: OpenHistoricalMap/issues#1406. |
Oh, that makes sense. For an easy fix we could just set the pattern if religion=christian, but definitely need more pattern symbols. |


This adds the iata= and icao= as the airport label beside the icon on zoom levels 12 to 14.