aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionMapView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionMapView.tsx b/src/client/views/collections/CollectionMapView.tsx
index 44bb22827..2bf3d7c32 100644
--- a/src/client/views/collections/CollectionMapView.tsx
+++ b/src/client/views/collections/CollectionMapView.tsx
@@ -82,7 +82,7 @@ class CollectionMapView extends CollectionSubView<MapDocument, Partial<MapProps>
center={center}
onBoundsChanged={e => console.log(e)}
onRecenter={e => console.log(e)}
- onDragend={(centerMoved, center) => console.log(centerMoved, center)}
+ onDragend={e => console.log(e)}
onProjectionChanged={e => console.log(e)}
onCenterChanged={(e => {
Document[this.props.fieldKey + "-mapCenter-lat"] = typeof e?.center?.lat === "number" ? e.center.lat : center!.lat;