Commit graph

45 commits

Author SHA1 Message Date
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
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
Oliver Jowett 43d29389f2 Lots more map work, mostly around switching from "construct a big HTML string"
to working directly with the DOM to update the table / selected plane info.
Seems to speed things up (and deflicker them) a lot.

Also stable sorts, allow disabling the clocks, draw ground tracks in a different
color, put "last seen" info on the selected plane infobox, if position updates
are infrequent then combine them into a single estimated line so that dash
placement works properly, probably a bunch of other things..
2015-01-06 20:15:25 +00:00
Oliver Jowett e8a62293c2 More WIP on the webmap, mostly fixing up track history. 2015-01-06 01:00:44 +00:00
Oliver Jowett 1f06abf67d WIP webmap cleanup 2015-01-05 23:20:03 +00:00
Oliver Jowett 75438d5595 Change the marker color for aircraft with no recent updates. 2014-10-02 22:50:09 +01:00
Malcolm Robb 2c28d9fe2f IE 8/9 Bugs in Web interface
*DISCLAIMER*
I didn't write any of this code initially, I've never tried to use it,
and I don't understand Java Script at all. In-fact I hate the wretched
stuff.

Anyway, it appears that no-one has bothered to test any of the Web
interface code using Microsoft Internet Explorer 8 or 9. I've attempted
to hack out the sections of the code that are causing problems, and at
least the web interface now seems to run.

However, for some reason the planes never move - I know this must be a
bug, but I don't know how to fix it.

Most of the errors relate to trailing commas.  My guess it that some
Java engines don't mind trailing commas, but that the Microsoft ones do.
There are also some undefined modules (untrackedDeveloperSettings) and
functions (console.log) which I guess those who wrote the code have on
their machines, but forgot to include in the public distribution. I've
no idea how to fix this, so I've just hacked them out of the code.
2013-09-26 12:59:46 +01:00
terribl 5f0e295580 From DE8MSH: Plane markers!
Now markers look like planes! Thank You | Tak!

(And bug pointed out by DE8MSH :))

	modified:   public_html/planeObject.js
	modified:   public_html/script.js
2013-06-02 20:49:45 +03:00
Brian Davenport 8b5c74ded8 Split into multiple JS files,
Selecting planes now works,
Started work on settings window,
Created extension.js, an area for new ideas to be tested or loaded out of.
2013-05-24 02:15:37 +00:00