adds route editing
This commit is contained in:
13
web/src/lib/models/gpx/link.ts
Normal file
13
web/src/lib/models/gpx/link.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export default class Link {
|
||||
$: {
|
||||
href?: string;
|
||||
}
|
||||
text: string;
|
||||
type: string;
|
||||
constructor(object: any) {
|
||||
this.$ = {};
|
||||
this.$.href = object.$.href || object.href;
|
||||
this.text = object.text;
|
||||
this.type = object.type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user