diff --git a/src/model/messages/gps-data.ts b/src/model/messages/gps-data.ts index 48a87c6..045cee8 100644 --- a/src/model/messages/gps-data.ts +++ b/src/model/messages/gps-data.ts @@ -4,9 +4,9 @@ import { DataMessage } from '../channels'; interface GpsDataData { [key: string]: JsonSerializable; satCount: number; - fix: number; - north: number; - east: number; + fix: boolean; + latitude: number; + longitude: number; time: number; className: string; } diff --git a/src/widgets/map-widget/widget.tsx b/src/widgets/map-widget/widget.tsx index d0bee33..7b1f257 100644 --- a/src/widgets/map-widget/widget.tsx +++ b/src/widgets/map-widget/widget.tsx @@ -65,8 +65,8 @@ export function Widget() { {latestMessage && (