waypoint popup info

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

No files matched your search

+8
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),