diff --git a/src/containers/map/index.tsx b/src/containers/map/index.tsx index 1baa425f5..2da2285e0 100644 --- a/src/containers/map/index.tsx +++ b/src/containers/map/index.tsx @@ -36,6 +36,7 @@ import Legend from 'containers/map/legend'; import MobileLegend from 'containers/map/mobile/legend'; import RestorationPopup from 'containers/map/restoration-popup'; +import Icon from 'components/icon'; import Map from 'components/map'; import Controls from 'components/map/controls'; import BasemapSettingsControl from 'components/map/controls/basemap-settings'; @@ -51,6 +52,8 @@ import Popup from 'components/popup'; import { breakpoints } from 'styles/styles.config'; import type { RestorationPopUp, PopUpKey, LocationPopUp } from 'types/map'; +import CLOSE_SVG from 'svgs/ui/close.svg?sprite'; + import LayerManager from './layer-manager'; import LocationPopup from './location-pop-up'; @@ -379,6 +382,12 @@ const MapContainer = ({ mapId }: { mapId: string }) => { latitude={locationPopUp?.popup[0]} onClose={() => removePopup('location')} > + {!isEmpty(locationPopUp?.info) ? ( { const [open, setOpen] = useState(nonExpansible);