-
-
-
-
-
-
-
- {/*{!embedded && (*/}
- {/* */}
- {/*)}*/}
- {showFilterControl && }
- {/*todo: needed layer handling is located LayerControl*/}
- {showLayerControl && }
- {showGratitudeControl && }
-
-
- setClusterRef(r)} showCoverageOnHover chunkedLoading maxClusterRadius={50} removeOutsideVisibleBounds={false}>
- {
- React.Children.toArray(children).map((child) =>
- React.isValidElement<{ setItemFormPopup: React.Dispatch>, itemFormPopup: ItemFormPopupProps | null, clusterRef: React.MutableRefObject }>(child) ?
- React.cloneElement(child, { setItemFormPopup: setItemFormPopup, itemFormPopup: itemFormPopup, clusterRef: clusterRef }) : child
- )
- }
-
- {geo && {
- selectNewItemPosition && e.layer!.closePopup();
- selectNewItemPosition && setMapClicked({ position: e.latlng, setItemFormPopup: setItemFormPopup })
- },
- }} />}
-
-
-
- {selectNewItemPosition != null &&
-
- }
-
-
-