aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-08-21 16:42:17 -0400
committerbobzel <zzzman@gmail.com>2023-08-21 16:42:17 -0400
commit67da701d844b2b2f086b635d6383debeab78c2bf (patch)
tree6bdc7c67a74a88de225e80a587c7ee03cc4774e3 /src
parentd0f5cebc147b48b14e8c5992e459c725aee63cb5 (diff)
comments
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/MapBox/MapBox.tsx3
1 files changed, 3 insertions, 0 deletions
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),