From a575adb117193ca20da9f19f5810335592a6342d Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Fri, 21 Feb 2025 12:42:52 +0100 Subject: [PATCH] SearchControl - flag & magnifying-glass --- .../Subcomponents/Controls/SearchControl.tsx | 34 +++---------------- 1 file changed, 4 insertions(+), 30 deletions(-) diff --git a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx index e197ea03..a267019e 100644 --- a/src/Components/Map/Subcomponents/Controls/SearchControl.tsx +++ b/src/Components/Map/Subcomponents/Controls/SearchControl.tsx @@ -10,6 +10,8 @@ /* eslint-disable @typescript-eslint/restrict-plus-operands */ /* 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 axios from 'axios' import { LatLng, LatLngBounds, marker } from 'leaflet' import { useEffect, useRef, useState } from 'react' @@ -234,21 +236,7 @@ export const SearchControl = () => { hide() }} > - - - - +
{geo?.properties.name ? geo?.properties.name : value} @@ -295,21 +283,7 @@ export const SearchControl = () => { ) }} > - - - - +
{value}