Commit Graph

550 Commits

Author SHA1 Message Date
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 76ab0a7ebe SkyView: Fix ground markers
Add width and height to the svg xml description of the markers/symbols
for ground vehicles.
Fixes thouse markers/symbols being invisble.
2019-07-30 13:03:21 +02:00
Eric Tran b01f42097d Add new SkyAware banners 2019-07-29 15:24:56 +00: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
Eric Tran de6d671ba4 Change all occurences of Skyview to SkyAware in .js files 2019-07-16 19:11:19 +00:00
Eric Tran f4537bd49a Change all occurences of Skyview to SkyAware in code 2019-07-16 15:36:16 +00:00
Oliver Jowett 930e158208 Update aircraft DB to 20190502 2019-05-02 18:54:59 +08:00
Oliver Jowett 77c8f9aafa Minimal skyview changes for nav_alt changes 2019-03-19 18:48:13 +00:00
Oliver Jowett 6abcebd0e4 Skyview: finish up init properly if there's no history to load 2019-03-04 15:17:16 +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
Gareth Williams bd14c822e3
Removed extra ; 2018-10-03 01:12:32 +01:00
Gareth Williams 9063761dd1
Update style.css 2018-10-03 01:00:58 +01:00
Oliver Jowett cdba7566fd Fix skyview display of geometric altitude 2018-09-11 17:33:37 +01: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 8985b5ab86 Version planeObject also 2018-08-17 10:28:42 -05:00
James Wilson bf05a94f3e Show n/a for not known registration 2018-08-15 16:54:43 -05:00
James Wilson 4fbb336fa3 Show n/a for aircraft type on info pane 2018-08-15 15:41:47 -05:00
James Wilson 43fedd9c6d Move registration on hover box. Default to n/a 2018-08-15 11:50:14 -05:00
James Wilson e0bb6e11e7 Add registration and source to hover box 2018-08-15 11:21:35 -05:00
James Wilson 7d61b2aaab Add Selected to nav alt/heading. Replace dragger with bar on top 2018-08-13 16:41:30 -05:00
James Wilson 7bb2cfe01f Move FlightAware link to the top 2018-08-10 10:34:40 -05:00
James Wilson 65f44d99bf Actually remove the squawks section 2018-08-08 16:42:14 -05:00
James Wilson 963cb1aefb Add back in photos link. Add more descriptions and remove squawks section 2018-08-08 16:41:34 -05:00
James Wilson 71f2c99e96 Fix air/ground status. Tooltip/infoblock changes 2018-08-08 11:37:26 -05:00
James Wilson 540e5f8e95 Just use ft/m for the Rc display 2018-08-03 18:39:13 -05:00
James Wilson 3ec6ec1a9d Center info icon. Show highlight hover with select box 2018-08-03 15:03:19 -05:00
James Wilson 974e962a55 C should be subscript for RC. 0 = unknown 2018-08-02 13:32:05 -05:00
James Wilson ea7a2c1c09 Update NAC displays. Add RC 2018-08-02 13:04:44 -05:00
James Wilson 12151ed8f5 Prevent full page scrolling 2018-08-01 10:38:50 -05:00
James Wilson 6af6ff7c2b Fix NAC/NIC/SIL labels and content. Fix airframes padding. Fix info icon url 2018-07-31 18:25:11 -05:00
James Wilson 0983766a6c Add close button and airframes.org link 2018-07-31 16:12:03 -05:00
James Wilson 3298eb77b4 Add accuracy fields 2018-07-31 12:17:27 -05:00
James Wilson 3e4012e958 SkyView extended mode-s changes
* Add extended Mode-S info to infoblock
* Move the infoblock to the sidebar
* Resizable infoblock
* Add hover tooltips for infoblock labels
2018-07-30 17:51:18 -05:00
Oliver Jowett 1caabc5ad8 Update FlightAware registry data export; regenerate json db. 2018-07-20 21:14:23 +01:00
Oliver Jowett d3448b0efb Update flags for Libya, Serbia, Montenegro 2018-07-20 20:49:11 +01:00
Oliver Jowett f4fa94f842 Merge branch 'more_mode_s' into dev 2018-05-09 16:20:58 +01:00
Oliver Jowett c9997a783f Also turn on extended data with #extended in the URL 2018-05-09 15:33:26 +01:00
Oliver Jowett c9e729a48a Hide extended data fields by default 2018-05-09 15:20:45 +01:00
Oliver Jowett 084acd2951 Remove chartbundle WAC, add helicopter chart.
(See https://github.com/mutability/dump1090/pull/212)
2018-05-09 15:16:05 +01:00
Oliver Jowett 9efd6b3470 Mapzen is shutting down, remove the mapzen support 2018-05-09 15:08:40 +01: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 a125155074
Merge pull request #19 from drakeapps/master
Update OpenLayers to current version
2017-11-01 17:48:25 +00:00
James Wilson a38acc3dff Update index.html to point to the correct OpenLayers files 2017-10-30 14:34:44 -05:00
James Wilson ee7d879130 Update OpenLayers to current version. This fixes slowness in certain browsers 2017-10-23 12:52:50 -05:00
Oliver Jowett 220bbf5057 Fix L2P/L2T icon mappings, remove Dash 8 overrides 2017-07-31 13:16:19 +01:00
Oliver Jowett 51e3e1d677 Merge pull request #14 from daviessm/html_parallel_history_load
Parallelise the history JSON loads for faster initial load times.
2017-07-31 12:09:40 +01:00
Steven Davies 14bbf09230 Fix string concatenation to be addition 2017-07-29 19:18:56 +01:00
Steven Davies 74c9cb564c Parallelise the history JSON loads for faster initial load times.
As a by-product, for my test server using http/2 this halved the load time against the same code using http/1.1.
2017-07-29 17:52:24 +01:00
Oliver Jowett 567600889f Change color for on-the-ground aircraft to brown. 2017-07-28 17:37:55 +01: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 17c8265ce8 Fix a few more things that were broken by the field renaming. 2017-06-15 22:41:32 +01:00
Oliver Jowett c7855c5ab6 Feed more data to skyview, basic display updates. 2017-06-15 22:36:23 +01:00
Oliver Jowett 2e0aba4f1f Merge pull request #12 from drakeapps/master
Skyview Fixes
2017-05-09 19:41:06 +01:00
James Wilson 80eca0ff9a Always show correct source on data popup 2017-05-09 12:23:03 -05:00
James Wilson d225b9bc3f Fix event variable name 2017-04-25 18:28:57 -05:00
James Wilson bd96af9827 Check for other TIS-B types 2017-04-06 14:23:30 -05:00
James Wilson f1192e9414 Add fall back fonts for Helvetica Neue 2017-04-06 14:18:23 -05:00
Oliver Jowett 02b9e635b5 Update FlightAware aircraft data export. 2017-04-03 17:52:14 +01:00
Oliver Jowett 06cdc5071b Remove ShowClocks from config.js 2017-04-02 12:33:53 +01:00
Oliver Jowett 0aa1822262 Merge pull request #11 from drakeapps/master
Fix image sizing on retina displays
2017-03-29 23:39:16 +01:00
James Wilson 9486c14842 Fix image sizing on retina displays 2017-03-29 17:35:54 -05:00
Oliver Jowett 0c5472043e Don't explode on map pan after deselecting an aircraft that was being followed. 2017-03-22 22:29:42 +00: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
drakeapps 87689cf6eb Add padding to right side of highlight box 2017-03-19 23:37:33 -05:00
drakeapps cfcb329a2f Add back in follow plane functionality 2017-03-19 23:05:44 -05:00
James Wilson 9621cadbd3 Merge branch 'master' of github.com:drakeapps/dump1090 2017-02-22 12:18:05 -06:00
James Wilson f23bdb21f6 Hide the altitude chart and checkbox if using custom colors since the chart is based on default colors 2017-02-22 12:17:18 -06:00
James Wilson 3a819a5aeb Merge branch 'dev' into master 2017-02-10 14:53:06 -06:00
James Wilson e0e09ed3a4 Add toggle to show/hide altitude chart 2017-02-10 14:41:48 -06: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 d40e69ee42 Update the location it tries to put the infoblock if it's over the icon 2017-02-06 12:23:21 -06:00
James Wilson 2e6b4eb4b6 Update altitude chart dimensions 2017-02-03 16:33:39 -06:00
James Wilson b929821fe8 Update altitude legend with correct colors 2017-02-03 15:03:29 -06:00
James Wilson 484765a119 Only show layerSwitcher controls if there is more than 1 base layer present 2017-02-03 10:50:37 -06:00
James Wilson 5d781785aa Add back in layer switcher. Update Select All/None button text 2017-02-02 18:21:07 -06:00
James Wilson bc2415bc5d Remove highlighting from map buttons 2017-02-02 17:31:00 -06:00
James Wilson cc92afd4f0 Increase size of the sidebar 2017-01-31 18:21:08 -06:00
James Wilson 0511d6fd3a Reset infoblock position on new plane selections. Update large ident styling 2017-01-31 11:07:39 -06:00
James Wilson 0e1e5df326 Align checkboxes with top line 2017-01-30 15:59:47 -06:00
James Wilson 06ab0502fe Chagne other and tisb row colors 2017-01-30 15:56:04 -06:00
James Wilson 773668f510 Change style of settings box and add close icon 2017-01-30 14:23:23 -06:00
James Wilson 973182c75e Remove retina altitude key styles 2017-01-30 12:39:19 -06:00
James Wilson 908d794238 Change altitude based on units. Increase width of altitude legend and use an SVG 2017-01-30 11:58:29 -06:00
James Wilson c34b1c38fb Make 'Show Map' button styling match header 2017-01-30 09:13:25 -06:00
James Wilson fbf8af2236 Don't show layerSwitcher on the map. We still want the functionality of it, but don't need the switcher panel currently 2017-01-27 16:01:20 -06:00
James Wilson ee23816428 Switch to FlightFeeder logo for FlightFeeders 2017-01-26 16:32:45 -06:00
James Wilson 9d3f3bdf84 Fix page height overflowing 2017-01-26 15:01:09 -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 6d4300848f Forgot a comma 2017-01-25 18:28:33 -06:00
James Wilson d332f477b8 Add ground vehicle icons 2017-01-25 18:19:09 -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 a7be17a5d7 Chagne Track to Heading in infoblock also 2017-01-24 18:12:39 -06:00
James Wilson 4cbb1ab437 Round range rings labels. Add commas to altitudes. Change Track to Heading and add degree symbol. Remove the work Link from links 2017-01-24 18:10:06 -06:00
James Wilson e4a94aa574 Check for adsb_icao, not just adsb 2017-01-24 17:30:42 -06:00
James Wilson bbfdd45cc3 Merge https://github.com/flightaware/dump1090 2017-01-24 17:12:14 -06:00
James Wilson 8b9f984a54 Remove accidentally committed data folder 2017-01-24 17:09:39 -06:00
James Wilson 71b9b659d0 Use FlightAware aircraft icons 2017-01-24 16:54:06 -06:00
Robert 0afe1441de Fix 'See Photos' link for hyphenated registrations
\W would probably work for the regex, but I wanted to make it as narrow as possible.
2017-01-24 11:27:25 -06:00
James Wilson ac9249b293 Remove stroke from range ring labels 2017-01-24 09:34:42 -06:00
James Wilson e2fcc58bf2 Add labels to range rings 2017-01-23 16:27:03 -06:00
James Wilson 8228050ca4 Add settings pop up box 2017-01-23 14:02:45 -06:00
James Wilson 924bcaa044 Update more styling of the page. Add legend to table highlighting
Fix some indentation issues
2017-01-20 11:52:38 -06:00
James Wilson c2c43b9f6b Add date/time to header 2017-01-19 16:21:55 -06:00
James Wilson e5fcd4035f Redesign infoblock 2017-01-19 14:55:48 -06:00
James Wilson cf6fcdce6a Add retina images. Hide hover box on initial page load 2017-01-19 11:28:22 -06:00
James Wilson cc75121d37 Update map control icons 2017-01-18 18:14:27 -06:00
James Wilson 6c86d4f276 Add a smaller info pane that appears while hovering over planes 2017-01-18 16:14:53 -06:00
James Wilson b0dc4f8a4f Update header styling 2017-01-17 17:19:23 -06:00
Oliver Jowett f2872d6c15 Update FlightAware static data export, regenerate the aircraft DB. 2017-01-12 13:52:22 +00:00
Oliver Jowett 8f1663cb98 Prune the special handling for 000000 which is not needed. 2016-10-25 21:09:27 +01:00
Oliver Jowett c294ac1327 Allow skipping the history load by adding a #nohistory fragment to the URL
(e.g. for slow / high latency connections)
2016-10-14 22:09:35 +01:00
Oliver Jowett 8f3b7c8fde Realign the default infoblock position so it doesn't overlap the zoom control. 2016-10-14 22:04:44 +01: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 36e7ec4cd8 Fix the ident link. 2016-09-22 15:28:07 +01:00
Oliver Jowett b38061c3c4 Might as well use the mode-s-and-ident link everywhere. 2016-09-22 15:03:46 +01:00
Oliver Jowett d4e1300b1f Fix not displaying mode-S-only aircraft in the table. 2016-09-22 14:21:09 +01:00
Oliver Jowett 662c19568e Don't try to compute registrations on non-hex addresses (e.g. non-icao: ~123456) 2016-09-17 13:32:34 +01:00
Oliver Jowett daa3e00ade Restyle/realign the sidebar/layer controls some more. 2016-09-16 12:40:06 +01:00
Oliver Jowett 2a708ef848 Make the layerswitcher icon have a transparent background so it looks less out of place. 2016-09-16 11:43:48 +01:00
Oliver Jowett b2375468cb Stopgap fix for crowding in the top-right:
* move zoom control back to default position
 * shrink the sidebar expand/shrink buttons to half size
 * realign everything
2016-09-16 11:43:05 +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 4839372642 Oops, that was meant to be L4T. 2016-09-15 19:44:57 +01:00
Oliver Jowett 2843f85ed6 Add a L4P mapping. 2016-09-15 19:42:38 +01:00
Oliver Jowett 9bba9ce579 Remove dubious L1J, L2P mappings. 2016-09-15 19:42:17 +01:00
Oliver Jowett 227dce4af0 Scale tweaking. 2016-09-15 19:41:46 +01:00
Oliver Jowett fa17c472e7 Add a 747-400 icon, use it for 747 variants and L4J-H 2016-09-15 19:41:23 +01:00
Oliver Jowett efc47651e7 Update markers_test for the new marker selection stuff. 2016-09-15 15:31:15 +01:00
Oliver Jowett 2a4ee685a2 Merge remote-tracking branch 'upstream/master' into dev 2016-09-15 15:31:01 +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 46f0c15471 Test page for markers. 2016-09-15 01:32:38 +01:00
Oliver Jowett d0f9b870cd Update static DB to include the FlightAware data export. 2016-09-15 00:09:57 +01:00
Oliver Jowett f8a2896e76 Merge remote-tracking branch 'csfa/map_enhancements' into dev 2016-09-14 22:53:50 +01:00
Carlos Salaverria 5fca9eed4b Change ICAO column font 2016-09-14 16:51:38 -05:00
Carlos Salaverria ad39d1b90c Use fixed width font for ICAO code column 2016-09-14 16:03:02 -05: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 d1790cd411 Prefer static DB type descriptions over the ICAO descriptor table lookup. 2016-09-14 18:25:21 +01:00
Oliver Jowett b59d0b6bcb Use the same mappings for categories A2/A3/A5 as for L2J-L/M/H 2016-09-14 18:18:39 +01:00
Oliver Jowett 256049f93a More scale tweaks. 2016-09-14 18:18:12 +01:00