From 32ccf6049bba1cccfcdca5962ab9acba687e04de Mon Sep 17 00:00:00 2001 From: Uskompuf <22492406+Uskompuf@users.noreply.github.com> Date: Sun, 12 Dec 2021 12:06:37 +1100 Subject: [PATCH 1/5] Fix Search --- index.html | 2 +- opensearchspec.xml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 959b323..51e2c67 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ SondeHub Tracker - + diff --git a/opensearchspec.xml b/opensearchspec.xml index 39a883e..79cb7c1 100644 --- a/opensearchspec.xml +++ b/opensearchspec.xml @@ -1,10 +1,10 @@ - Habhub Tracker - Habhub Tracker - Search + SondeHub Tracker + SondeHub Tracker - Search UTF-8 hello@rgp.io - https://tracker.habhub.org/favicon.ico - Rossen Georgiev - + https://sondehub.org/favicon.ico + Luke Prior + From ef27a6849b3da17ac0bfd381a27e5d945a960903 Mon Sep 17 00:00:00 2001 From: Uskompuf <22492406+Uskompuf@users.noreply.github.com> Date: Sun, 12 Dec 2021 12:09:46 +1100 Subject: [PATCH 2/5] Remove redundent KML tracking file --- track.kml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 track.kml diff --git a/track.kml b/track.kml deleted file mode 100644 index f177049..0000000 --- a/track.kml +++ /dev/null @@ -1,14 +0,0 @@ - - - - habhub tracker (GE) - Live tracking of high altitude balloons via Google Earth - - http://spacenear.us/tracker/datanew.php?format=kml&mode=2days&vehicles=!RS_*; - onInterval - 20 - - - - - From 0193166f912ff43c4e84a605ee6b28f2b8760660 Mon Sep 17 00:00:00 2001 From: Uskompuf <22492406+Uskompuf@users.noreply.github.com> Date: Sun, 12 Dec 2021 12:13:39 +1100 Subject: [PATCH 3/5] remove unused cache code --- index.html | 14 -------------- js/app.js | 52 ---------------------------------------------------- 2 files changed, 66 deletions(-) diff --git a/index.html b/index.html index 51e2c67..63cd695 100644 --- a/index.html +++ b/index.html @@ -223,20 +223,6 @@

Other

-
- Force check for new version -
- - -
-
-
- - Reloads appcache if necessary. - The size of cache files is 1.2 MB. - This does not include map tiles. - -
-

Overlays

-
- Daylight overlay -
+ Hide Launch Sites +
- +
-

Other

+

Overlays


- Hide Launch Sites -
+ Daylight overlay +
- +
From b7a75d71c3fb7e986e9e6ecd304046a25886d479 Mon Sep 17 00:00:00 2001 From: Uskompuf <22492406+Uskompuf@users.noreply.github.com> Date: Sun, 12 Dec 2021 12:32:06 +1100 Subject: [PATCH 5/5] fix chase cars not appearing --- js/tracker.js | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/js/tracker.js b/js/tracker.js index 294453d..f5c5857 100644 --- a/js/tracker.js +++ b/js/tracker.js @@ -2311,7 +2311,20 @@ function addPosition(position) { marker = new L.Marker(point, { title: vcallsign, zIndexOffset: Z_CAR, - }).addTo(map).on('click', onClick); + }); + + if(!!!window.HTMLCanvasElement) { + carIcon = L.icon({ + iconUrl: image_src, + iconSize: image_src_size, + iconAnchor: [27.22], + tooltipAnchor: [0,-32], + }); + marker.setIcon(new carIcon); + } else { + marker_rotate_setup(marker, image_src); + } + marker.addTo(map).on('click', onClick); // Scroll list stuff here. function onClick(e) { @@ -2325,18 +2338,6 @@ function addPosition(position) { refreshSingleNew(_vehicle_id); }; - if(!!!window.HTMLCanvasElement) { - carIcon = L.icon({ - iconUrl: image_src, - iconSize: image_src_size, - iconAnchor: [27.22], - tooltipAnchor: [0,-32], - }); - marker.setIcon(new carIcon); - } else { - marker_rotate_setup(marker, image_src); - } - marker.addTo(map); polyline = [ new L.Polyline(point, { color: car_colors[color_index],