diff --git a/hosts/containers/sdrweb/adsb.html b/hosts/containers/sdrweb/adsb.html index eec5a214..572e18a3 100644 --- a/hosts/containers/sdrweb/adsb.html +++ b/hosts/containers/sdrweb/adsb.html @@ -1,199 +1,199 @@ - - - - - - - + + - - -
-
-
-

Dump1090

-

-

Click on a plane for info.

-
-
- + function initialize() { + Map = L.map('map_canvas').setView([51.08102, 13.72806], 8); + + L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { + attribution: 'Map data © OpenStreetMap contributors, CC-BY-SA, Imagery © Mapbox', + maxZoom: 18, + id: 'mapbox/streets-v11', + accessToken: 'your.mapbox.access.token' + }).addTo(Map); + + /* Setup our timer to poll from the server. */ + window.setInterval(function() { + fetchData(); + }, 500); + } + + + + +
+
+
+

Dump1090

+

+

Click on a plane for info.

+
+
+ diff --git a/hosts/containers/sdrweb/airplane.svg b/hosts/containers/sdrweb/airplane.svg new file mode 100644 index 00000000..30b7e196 --- /dev/null +++ b/hosts/containers/sdrweb/airplane.svg @@ -0,0 +1 @@ +Created by egi enggryawanfrom the Noun Project \ No newline at end of file diff --git a/hosts/containers/sdrweb/default.nix b/hosts/containers/sdrweb/default.nix index 25c80e2d..8d1f3980 100644 --- a/hosts/containers/sdrweb/default.nix +++ b/hosts/containers/sdrweb/default.nix @@ -34,6 +34,7 @@ root = pkgs.runCommandNoCC "adsb-map" {} '' mkdir $out cp ${./adsb.html} $out/index.html + cp ${./airplane.svg} $out/airplane.svg ''; extraConfig = '' index index.html;