Commit graph

86 commits

Author SHA1 Message Date
Oliver Jowett e2761fc21d
Merge pull request #48 from wiedehopf/track_history_fix
SkyView: Fix aircraft trail handling
2019-08-16 18:46:49 +08:00
Matthias Wirth f1cb09d0e3 SkyView: Fix trail color for planes that are now on ground
When determining the color for a given altitude, don't check the current
altitude if it's ground but the altitude passed as an argument to the
function.
Without this fix, when clicking an aircraft on ground, its entire trail
is drawn in the color for ground.
2019-07-30 13:30:03 +02:00
Matthias Wirth 207ca0c401 SkyView: Unify stale check for loading the history
When loading the history, the check for stale aircraft tracks is done
differently.
This results in lots of dotted/stale track after opening the web page.
Improve this by using the same 5 second timeout stale criterion to
postions loaded from history. Add an additional check to better detect
stale tracks when loading history positions that are spaced 30 seconds
apart.
2019-07-30 13:24:11 +02:00
Matthias Wirth 5cc04d4ca8 SkyView: Fix aircraft trail handling
Make aircraft trail handling more consistent and the code hopefully
easier to understand.
Fix position comparison (comparing array references does not work).

When initially loading the SkyView webpage, there are sometimes gaps in
the aircraft trails when the trail transitions from estimated/dotted to
known/solid track.

Fix elastic band style to handle estimated segments properly.
2019-07-27 17:46:23 +02:00
Oliver Jowett 77c8f9aafa Minimal skyview changes for nav_alt changes 2019-03-19 18:48:13 +00:00
Oliver Jowett f04a71640a Skyview: try true_heading / mag_heading for icon rotation if track is missing 2019-03-04 15:13:51 +00:00
James Wilson e31bee1909 More spacing 2018-08-17 11:33:35 -05:00
James Wilson 8eeb29ec32 Fix typo. Clean up CSS and spacing 2018-08-17 11:31:12 -05:00
James Wilson ea7a2c1c09 Update NAC displays. Add RC 2018-08-02 13:04:44 -05:00
James Wilson 3298eb77b4 Add accuracy fields 2018-07-31 12:17:27 -05:00
Oliver Jowett 0b9f7e4cef Fix up display of nav settings in skyview 2018-03-08 21:41:29 +00:00
Oliver Jowett 213d769bf9 Tweaks to json output / webmap handling of new fields (untested) 2018-03-08 17:34:34 +00:00
Oliver Jowett 4baae970ae Retain callsign even after it disappears from json. 2017-06-16 13:30:30 +01:00
Oliver Jowett f45a7d61a5 Include AP modes in info window. 2017-06-16 10:40:22 +01:00
Oliver Jowett 8a52108d77 Clean up js-side data capture, fix naming on ground track / speed. 2017-06-16 10:39:57 +01:00
Oliver Jowett e3c8c91852 Emit adsb version in json & faup1090. Show it in skyview. 2017-06-15 23:42:05 +01:00
Oliver Jowett c7855c5ab6 Feed more data to skyview, basic display updates. 2017-06-15 22:36:23 +01:00
James Wilson 84383e2209 Prevent stroke when selecting all planes 2017-03-22 09:27:39 -05:00
James Wilson f6dfe2616f Add stroke around selected aircrafts 2017-03-21 10:00:07 -05:00
James Wilson fddb2298ee Clean up SVG rendering. Use the new flightfeeder key in status.json 2017-02-10 12:18:13 -06:00
James Wilson bee850061e Add functionality to ground vehicle and blocked MLAT filter
Add box shadow to header
2017-01-26 13:38:47 -06:00
James Wilson 6b699bffc3 Change the track for each altitude change to correctly color it based on altitude 2017-01-26 11:19:10 -06:00
James Wilson d6898dbc49 Show altitude colors in plane track lines
Show altitude color key on map

Correctly handle retina images with CSS
2017-01-25 16:33:28 -06:00
James Wilson bbfdd45cc3 Merge https://github.com/flightaware/dump1090 2017-01-24 17:12:14 -06:00
James Wilson 71b9b659d0 Use FlightAware aircraft icons 2017-01-24 16:54:06 -06:00
Oliver Jowett 78f88c6f8a Use the json type field to show finer-grained datasource info in the table mode. 2016-10-14 21:52:04 +01:00
Oliver Jowett 74ca8b838b Drop the maximum map marker size. 2016-10-14 21:44:21 +01:00
Oliver Jowett c56245a954 Don't change marker color when using select-all. 2016-09-22 15:28:51 +01:00
Oliver Jowett 4eb8e3d96a Set visible=false if we don't display a marker due to stale position;
this avoids markers briefly blinking back in on zoom.
2016-09-16 11:04:33 +01:00
Oliver Jowett bfa70415a3 Scale icons based on zoom level. 2016-09-16 11:03:54 +01:00
Oliver Jowett 5b8a943cee Don't use a heavy outline on aircraft when select-all is used. 2016-09-15 12:38:11 +01:00
Oliver Jowett 5445ce143c Fix the final (elastic) line segment in trails so it works correctly
in both in the select-all case and the regular case.
2016-09-15 12:37:30 +01:00
Oliver Jowett f8a2896e76 Merge remote-tracking branch 'csfa/map_enhancements' into dev 2016-09-14 22:53:50 +01:00
Carlos Salaverria 4989111f67 Fix incorrect flagging of 000000 ICAO codes as mode A/C 2016-09-14 13:10:20 -05:00
Oliver Jowett 394b4d586e Make the selection outline bigger, make it in terms of pixels (unscaled), don't use the outline on the heading marker bit. 2016-09-14 18:02:00 +01:00
Oliver Jowett 7dee192157 Merge remote-tracking branch 'csfa/map_enhancements' into dev 2016-09-14 17:47:44 +01:00
Oliver Jowett e5912c322f Add some mechanical hexid->registration conversions. 2016-09-09 17:16:17 +01:00
Carlos Salaverria 15c66a379a Fix incorrect test for Mode AC planeObject 2016-09-06 17:13:21 -05:00
Carlos Salaverria 6199003fa1 Add transparent borders to increase size of marker clickable area 2016-09-01 14:55:02 -05:00
Carlos Salaverria d5293cc0ed Add ability to map aircraft type descriptions to markers 2016-08-29 17:12:52 -05:00
Oliver Jowett d7f7ffa70a Add support for markers that don't rotate but have a heading arrow.
Use it for balloons.
2016-08-29 13:45:37 -05:00
Oliver Jowett 5e786e6cad Add more aircraft icons courtesy Peter Lowden.
Add support for selecting an icon based on aircraft type from the json DB.
2016-08-29 13:43:22 -05:00
Carlos Salaverria d17f027035 Add aircraft type information to planeObject 2016-08-29 10:07:03 -05:00
Oliver Jowett 08fba4e3b0 Add support for markers that don't rotate but have a heading arrow.
Use it for balloons.
2016-08-29 12:38:00 +01:00
Oliver Jowett ca57fb27f0 Add more aircraft icons courtesy Peter Lowden.
Add support for selecting an icon based on aircraft type from the json DB.
2016-08-27 15:49:04 +01:00
Carlos Salaverria 6b2c238a54 Add ability to filter planes by altitude 2016-08-24 15:28:13 -05:00
Carlos Salaverria 1c2bea38df Show additional columns when table is fully expanded 2016-08-19 17:37:43 -05:00
Oliver Jowett 426e77a252 Don't choke when selecting positionless planes in the table. 2016-07-24 16:58:13 +01:00
Oliver Jowett 5cf512cf63 Clean out some debug, dead code. 2016-07-02 18:10:15 +01:00
Oliver Jowett b7fc52bcb3 Tweak the svg stroke width based on scale.
The stroke width is applied before scaling, but we actually want
the outline to have the same weight regardless of the scale chosen.
2016-07-02 17:14:58 +01:00