diff --git a/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx b/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx
index d517db99..44cc200f 100644
--- a/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx
+++ b/lib/src/Components/Map/Subcomponents/Controls/SearchControl.tsx
@@ -11,7 +11,7 @@
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-call */
import FlagIcon from '@heroicons/react/24/outline/FlagIcon'
-import MagnifyingGlassIcon from '@heroicons/react/24/outline/MagnifyingGlassIcon'
+import MapPinIcon from '@heroicons/react/24/outline/MapPinIcon'
import axios from 'axios'
import { LatLng, LatLngBounds, marker } from 'leaflet'
import { useRef, useState } from 'react'
@@ -167,56 +167,85 @@ export const SearchControl = () => {
{itemsResults.length > 0 && tagsResults.length > 0 && (
)}
- {itemsResults.slice(0, 5).map((item) => (
- {
- const marker = Object.entries(leafletRefs).find((r) => r[1].item === item)?.[1]
- .marker
- if (marker) {
- navigate(`/${item.id}?${new URLSearchParams(window.location.search)}`)
- } else {
- navigate(
- 'item/' + item.id + '?' + new URLSearchParams(window.location.search),
- )
- }
- }}
- >
- {item.layer?.markerIcon?.image ? (
-
-