Skip to content

Commit

Permalink
Improve online controller lookup for tracons
Browse files Browse the repository at this point in the history
  • Loading branch information
cr0wst committed Feb 3, 2025
1 parent 002652b commit b4296bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/Map.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@
// Draw areas for each TRACON prefix
traconPrefixes.forEach((prefix) => {
// Find area where the short name starts with the prefix
const area = areas.find((a) => a.short.startsWith(prefix));
const area = areas.find((a) => a.id == `${prefix}z`);
if (!area || drawnAreas.has(area.short)) return;
const geoJsonLayer = L!.geoJSON(area.geojson, {
Expand Down

0 comments on commit b4296bb

Please sign in to comment.