waypoint popup info

This commit is contained in:
vcoppe
2024-05-13 19:43:10 +02:00
parent 7eb3dc07a0
commit 57ebefcb38
6 changed files with 97 additions and 60 deletions

View File

@@ -557,6 +557,14 @@ export class Waypoint {
this.attributes = coordinates;
}
getLatitude(): number {
return this.attributes.lat;
}
getLongitude(): number {
return this.attributes.lon;
}
clone(): Waypoint {
return new Waypoint({
attributes: cloneJSON(this.attributes),