mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
waypoint popup info
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user