From 67da701d844b2b2f086b635d6383debeab78c2bf Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Mon, 21 Aug 2023 16:42:17 -0400
Subject: comments

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

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

diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx
index e3a7e8a64..329de5792 100644
--- a/src/client/views/nodes/MapBox/MapBox.tsx
+++ b/src/client/views/nodes/MapBox/MapBox.tsx
@@ -523,6 +523,8 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
         this.dataDoc.latitude = pinDoc.latitude;
         this.dataDoc.longitude = pinDoc.longitude;
 
+        /// this should SELECT, not center
+
         this.OnClick();
     };
 
@@ -614,6 +616,7 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
      * Returns doc w/ relevant info
      */
     getAnchor = (addAsAnnotation: boolean, pinProps?: PinProps) => {
+        /// this should use SELECTED pushpin for lat/long  if there is a selection, otherwise CENTER
         const anchor = Docs.Create.MapanchorDocument({
             title: 'MapAnchor:' + this.rootDoc.title,
             config_latitude: NumCast(this.dataDoc.latitude),
-- 
cgit v1.2.3-70-g09d2

