Major bootstrap.
- Migrated frontend to Vue. - Migrated frontend map to OL API. - Extended environment variables. - README. - Country information/flag integration. - Implemented generic db/repo.
This commit is contained in:
parent
03deaa9cd8
commit
5dfde74ccf
40 changed files with 7309 additions and 223 deletions
frontend/src/models
23
frontend/src/models/GPSPoint.ts
Normal file
23
frontend/src/models/GPSPoint.ts
Normal file
|
@ -0,0 +1,23 @@
|
|||
class GPSPoint {
|
||||
public latitude: number;
|
||||
public longitude: number;
|
||||
public altitude: number;
|
||||
public address: string;
|
||||
public locality: string;
|
||||
public country: string;
|
||||
public postalCode: string;
|
||||
public timestamp: Date;
|
||||
|
||||
constructor(public data: any) {
|
||||
this.latitude = data.latitude;
|
||||
this.longitude = data.longitude;
|
||||
this.altitude = data.altitude;
|
||||
this.address = data.address;
|
||||
this.locality = data.locality;
|
||||
this.country = data.country;
|
||||
this.postalCode = data.postalCode;
|
||||
this.timestamp = data.timestamp;
|
||||
}
|
||||
}
|
||||
|
||||
export default GPSPoint;
|
Loading…
Add table
Add a link
Reference in a new issue