From 5656c2fa35d394c82b90ead9e9dcbc7f2a0994a9 Mon Sep 17 00:00:00 2001 From: Sam Wilson Date: Sun, 1 Aug 2021 23:02:36 +1000 Subject: [PATCH] Partially implemented geocoder and themes. Removed hardcoded API URLs --- README.md | 28 +++++++++++++--- public/map.html | 87 +++++++++++++++++++++++++++++++++++++++++-------- server.js | 4 +-- 3 files changed, 99 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 1e1d96f..ea8975f 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,26 @@ ## TODO ## Future -Add airport markers and counters for arr/deps -Show ATC polys and state from controllers API -Add ATC markers for tower, gnd, dep -Use AFV to get extended sectors + +* Theme switch light / dark +** Turn off POI labels at high zoom + +* Markers clickable +* Modal or inline window +* Geocoder search for marker names + +* Show ATC polys and state from controllers API +* Add airport markers and counters for arr/deps +* Add ATC markers for tower, gnd, dep +* Use AFV to get extended sectors +* Switch icons between prop and jet based on callsign or type. + Filter aircraft_type by types from https://vatstats.net/ +* Use nav API for progressive taxi or draw on ground map routes ### Current stats In FIR now +Top types +Arr / dep counts ### Stored stats Traffic heatmap (DB needed) @@ -19,4 +32,9 @@ https://commons.wikimedia.org/wiki/File:Plane_font_awesome.svg ## Theme Green 33cc99 A10 -Blue B0D1FC A10 \ No newline at end of file +Blue B0D1FC A10 + +## References + +https://docs.mapbox.com/mapbox-gl-js/example/animate-marker/ +https://docs.mapbox.com/mapbox-gl-js/example/forward-geocode-custom-data/ \ No newline at end of file diff --git a/public/map.html b/public/map.html index 57cc136..32444ac 100644 --- a/public/map.html +++ b/public/map.html @@ -36,18 +36,41 @@