|
|
@@ -14,7 +14,7 @@ class Puzzeltocht {
|
|
|
this.missionScreen = new MissionScreen();
|
|
|
this.missionScreen.setAnswerListener(e => this.answer(e));
|
|
|
this.location = new LocationApi();
|
|
|
- this.location.enable(p => this.updateLocation(p))
|
|
|
+ this.location.enable(p => this.updateLocation(p));
|
|
|
console.log("puzzeltocht initialised");
|
|
|
}
|
|
|
|
|
|
@@ -233,7 +233,7 @@ class Location {
|
|
|
|
|
|
string() {
|
|
|
return "(" + this.lat() + ", " + this.lon() + ")"
|
|
|
- + " +-" + this.accuracy() + "m, " + this.age() + "s geleden"
|
|
|
+ + " +-" + this.accuracy() + "m, " + Date.now() + " " + this.pos.timestamp + "s geleden"
|
|
|
}
|
|
|
}
|
|
|
|