遅刻可視化ツールの紹介
- 21. 補足: 履歴に含まれるデータ
日時, 緯度, 経度, 標高, 精度, etc...
interface LocationHistory {
locations: Location[];
}
interface Location {
timestampMs: string; // 日時
latitudeE7: number; // 緯度(度) * 1e7
longitudeE7: number; // 経度(度) * 1e7
velocity?: number; // 速度
heading?: number; // 進行方向
altitude: number; // 標高
activity?: Activity; // 活動(移動方法など)
accuracy: number; // 精度
}
21