From becf6eeac2bd370fef2eb67c107ccfaeef5805e4 Mon Sep 17 00:00:00 2001
From: Aubrey-Li <63608597+Aubrey-Li@users.noreply.github.com>
Date: Sat, 21 Aug 2021 13:52:34 -0700
Subject: render map marker gps updates

---
 src/client/views/nodes/MapBox/MapMarker.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/client/views/nodes/MapBox/MapMarker.tsx')

diff --git a/src/client/views/nodes/MapBox/MapMarker.tsx b/src/client/views/nodes/MapBox/MapMarker.tsx
index 34057cf48..fbad0cf65 100644
--- a/src/client/views/nodes/MapBox/MapMarker.tsx
+++ b/src/client/views/nodes/MapBox/MapMarker.tsx
@@ -17,7 +17,6 @@ import { AnchorMenu } from "../../pdf/AnchorMenu";
 import { FieldView, FieldViewProps } from "../FieldView";
 import { FormattedTextBox } from "../formattedText/FormattedTextBox";
 import { RichTextMenu } from "../formattedText/RichTextMenu";
-import { PresMovement } from "../PresBox";
 
 type MarkerDocument = makeInterface<[typeof documentSchema]>;
 const MarkerDocument = makeInterface(documentSchema);
@@ -27,6 +26,7 @@ export type Coordinates = {
     lng: number,
 }
 
+//TODO: MapMarkerBox
 @observer
 export class MapMarker extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps & FieldViewProps, MarkerDocument>(MarkerDocument) {
     makeLinkAnchor(arg1: string, undefined: undefined, arg3: string) {
@@ -52,6 +52,8 @@ export class MapMarker extends ViewBoxAnnotatableComponent<ViewBoxAnnotatablePro
         return tagDocs;
     }
 
+    @computed get lat() { return NumCast(this.dataDoc.lat) }
+    @computed get lng() { return NumCast(this.dataDoc.lng) }
 
     /**
      * Methods
-- 
cgit v1.2.3-70-g09d2

