diff options
author | mehekj <mehek.jethani@gmail.com> | 2023-01-28 22:39:23 -0500 |
---|---|---|
committer | mehekj <mehek.jethani@gmail.com> | 2023-01-28 22:39:23 -0500 |
commit | 9f139c7f0f571bdfea8ce99fc0a507724eb8fd74 (patch) | |
tree | 4de6642112f9c6c2df1a85cf8fa9ed700bb94cbd /src/client/views/nodes/MapBox/MapBox.tsx | |
parent | 9d2af1180f0dd5af5ab86b922cd8b0cdfcf4ea09 (diff) | |
parent | 95b8a5a2b470d3118b6eeac484a45b23df2830b4 (diff) |
Merge branch 'master' into schema-mehek
Diffstat (limited to 'src/client/views/nodes/MapBox/MapBox.tsx')
-rw-r--r-- | src/client/views/nodes/MapBox/MapBox.tsx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx index c8d5b0154..95cb49037 100644 --- a/src/client/views/nodes/MapBox/MapBox.tsx +++ b/src/client/views/nodes/MapBox/MapBox.tsx @@ -522,10 +522,7 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps ); } - getAnchor = () => { - const anchor = AnchorMenu.Instance?.GetAnchor(this._savedAnnotations) ?? this.rootDoc; - return anchor; - }; + getAnchor = (addAsAnnotation: boolean) => AnchorMenu.Instance?.GetAnchor(this._savedAnnotations, addAsAnnotation) ?? this.rootDoc; /** * render contents in allMapMarkers (e.g. images with exifData) into google maps as map marker |