From 79a11776c9a3e8a494db84a37d0179f29a829512 Mon Sep 17 00:00:00 2001 From: Uskompuf <22492406+Uskompuf@users.noreply.github.com> Date: Thu, 12 Aug 2021 16:06:08 +1000 Subject: [PATCH] temporary fix --- js/tracker.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/tracker.js b/js/tracker.js index 3cd9b5c..386c357 100644 --- a/js/tracker.js +++ b/js/tracker.js @@ -488,7 +488,7 @@ function load() { if(currentPosition) updateCurrentPosition(currentPosition.lat, currentPosition.lon); //Receiver canvas - receiverCanvas = new L.markerGroup(); + receiverCanvas = new L.LayerGroup(); receiverCanvas.addTo(map); // initalize nite overlay @@ -611,7 +611,7 @@ function setTimeValue() { function showLaunchSites() { if (!launches) { - launches = new new L.markerGroup(); + launches = new L.LayerGroup(); $.getJSON("launchSites.json", function(json) { for (var key in json) { if (json.hasOwnProperty(key)) {