Commit graph

57 commits

Author SHA1 Message Date
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
Oliver Jowett fc95719f2e Reinstate selecting aircraft by clicking on their icons. 2016-07-02 17:11:33 +01:00
Oliver Jowett 90f5a7d4e3 Round the computed colors a bit to reduce flickering.
(each color change requires regenerating the svg icon)
2016-07-02 17:11:08 +01:00
Oliver Jowett 18bd8b630d Draw plane icons. 2016-07-02 17:10:52 +01:00
Oliver Jowett 8639ab3837 More work on OL3. 2016-07-02 14:44:14 +01:00
Oliver Jowett 416c8591b7 Tweak the display of mlat aircraft icons (not convinced these are the best settings) 2015-10-26 12:30:21 +00:00
Oliver Jowett b5960fd44a Cleanups, reformatting, a few bugfixes, add sort-by-country. 2015-09-01 12:19:23 +01:00
Oliver Jowett b4490c7b47 Clear markers and don't color rows if the aircraft sees no positions for 60s,
even if they are still receiving other messages.

The marker/trail can be redisplayed by selecting the plane from the table.
2015-07-15 17:07:28 +01:00
Oliver Jowett e5053ac5c9 Only set/reset position_from_mlat when we actually see position data.
Otherwise, if the position data times out on the dump1090 side, we'd
keep the last seen position on the webpage side but lose the mlat
status.
2015-06-29 15:51:42 +01:00
Oliver Jowett f1f76cb8e3 When receiving mlat, allow larger gaps between positions before plotting estimated tracks.
mlat positions aren't generally so frequent as proper ES, so they'd almost always plot
as estimated.
2015-06-29 12:44:19 +01:00
Oliver Jowett bd96d40e4e Display aircraft with mlat-derived positions with a different row color. 2015-06-29 10:47:29 +01:00
Oliver Jowett da2fff8531 Proof of concept for an aircraft metadata DB. 2015-02-24 21:51:30 +00:00
Oliver Jowett b804359077 Initialize category. 2015-02-22 20:11:11 +00:00
Oliver Jowett 7fbdde156a Change map icon based on aircraft category.
This only has different icons for the "rotorcraft" and "light"
categories at the moment - all others are the default plane icon
at different scales.
2015-02-22 17:02:23 +00:00
Oliver Jowett 7bd2bcc0a2 Move color settings into config.js 2015-02-22 12:27:01 +00:00
Oliver Jowett 8e9220e330 Quick prototype of color-by-altitude. 2015-02-21 18:41:59 +00:00
Oliver Jowett 6fbeae070c Handle long refresh rates better, don't draw all tracks as dotted. 2015-02-11 00:15:48 +00:00
Oliver Jowett f76842d186 Doubleclick on plane marker to follow, too. 2015-01-22 21:35:59 +00:00
Oliver Jowett 09c50fff4d Show vertical rate indicators next to altitude. 2015-01-22 16:09:19 +00:00
Oliver Jowett ffe03fe749 Track RSSI in PlaneObject. 2015-01-22 15:31:10 +00:00
Oliver Jowett 6458cfd2fe Load history when the map is initialized.
This can take a few seconds, so add a loading spinny while it loads.

(cherry picked from commit 8d3fdcc1625278a25a289dee33ef6b8eaccfd0ff)
2015-01-16 20:32:55 +00:00
Oliver Jowett 0b5aac47c4 Change plane color if we have not seen a recent position update
(previously, any type of message was enough).
2015-01-11 12:15:54 +00:00
Oliver Jowett 86b59e7bd9 Don't need to stash ICAO on the marker now that we're binding the event listener function directly. 2015-01-07 21:15:56 +00:00
Oliver Jowett b4de83090d Don't update icao in updateData, it should never change. 2015-01-07 21:15:34 +00:00
Oliver Jowett 25ff88c252 Only reset marker title if it changes. 2015-01-07 21:03:26 +00:00
Oliver Jowett 139ed5cb36 Turn on strict mode, fix a few errors. 2015-01-07 17:35:32 +00:00
Oliver Jowett df79f7c989 Fix up selected vs is_selected. 2015-01-07 17:32:20 +00:00
Oliver Jowett 29509d9633 Make PlaneObject a class.
Rearrange internal storage of positions.
Maintain sitedist within PlaneObject, not externally.
Clean up speed/dist/etc formatting.
Show both metric & imperial values in the plane detail infobox.
2015-01-07 17:18:33 +00:00
Oliver Jowett 58e5485c2a Stylistic cleanups. Unify special squawk data. 2015-01-07 16:32:58 +00:00
Oliver Jowett feb8c55bac Display the number of history points stored.
Rejuggle how markers are handled so that we avoid creating lots of new icons all the time.
Rearrange reaping / update times so that it is all based on timestamps from the receiver.
2015-01-07 01:19:05 +00:00