mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-10-16 12:28:18 +00:00
create anchor points hierarchy for edition
This commit is contained in:
@@ -427,6 +427,14 @@ export class TrackPoint {
|
||||
return this.attributes;
|
||||
}
|
||||
|
||||
getLatitude(): number {
|
||||
return this.attributes.lat;
|
||||
}
|
||||
|
||||
getLongitude(): number {
|
||||
return this.attributes.lon;
|
||||
}
|
||||
|
||||
getHeartRate(): number {
|
||||
return this.extensions && this.extensions['gpxtpx:TrackPointExtension'] && this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] ? this.extensions['gpxtpx:TrackPointExtension']['gpxtpx:hr'] : undefined;
|
||||
}
|
||||
|
@@ -1,4 +1,5 @@
|
||||
export * from './gpx';
|
||||
export { Coordinates } from './types';
|
||||
|
||||
export { parseGPX, buildGPX } from './io';
|
||||
|
||||
|
Reference in New Issue
Block a user