Skip to content

Commit 706af8f

Browse files
authored
Merge pull request projecthorus#93 from LukePrior/testing
temporary fix
2 parents 81cd8b3 + 79a1177 commit 706af8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/tracker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ function load() {
488488
if(currentPosition) updateCurrentPosition(currentPosition.lat, currentPosition.lon);
489489

490490
//Receiver canvas
491-
receiverCanvas = new L.markerGroup();
491+
receiverCanvas = new L.LayerGroup();
492492
receiverCanvas.addTo(map);
493493

494494
// initalize nite overlay
@@ -611,7 +611,7 @@ function setTimeValue() {
611611

612612
function showLaunchSites() {
613613
if (!launches) {
614-
launches = new new L.markerGroup();
614+
launches = new L.LayerGroup();
615615
$.getJSON("launchSites.json", function(json) {
616616
for (var key in json) {
617617
if (json.hasOwnProperty(key)) {

0 commit comments

Comments
 (0)