aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/stop
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/app/components/stop')
-rw-r--r--src/frontend/app/components/stop/StopMapModal.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/frontend/app/components/stop/StopMapModal.tsx b/src/frontend/app/components/stop/StopMapModal.tsx
index 30ac63f..8d3c6f8 100644
--- a/src/frontend/app/components/stop/StopMapModal.tsx
+++ b/src/frontend/app/components/stop/StopMapModal.tsx
@@ -15,14 +15,13 @@ import "./StopMapModal.css";
export interface Position {
latitude: number;
longitude: number;
- orientationDegrees: number;
- shapeIndex?: number;
+ orientationDegrees?: number | null;
+ shapeIndex?: number | null | undefined;
}
export interface ConsolidatedCirculationForMap {
id: string;
currentPosition?: Position;
- stopShapeIndex?: number;
colour: string;
textColour: string;
shape?: any;