From de7b7d3bce897ec28fea74f192b309f1d716608b Mon Sep 17 00:00:00 2001 From: jiohjung98 Date: Sun, 9 Jun 2024 16:31:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=95=84=EC=9D=B4=EC=BD=98=20=ED=95=B4?= =?UTF-8?q?=EC=83=81=EB=8F=84=20=EB=B3=80=EA=B2=BD=20=EB=B0=8F=20=EB=AA=A8?= =?UTF-8?q?=EB=8B=AC=20=EB=86=92=EC=9D=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/map/MapLocation.png | Bin 2245 -> 0 bytes public/map/MapLocation.svg | 24 +++++++++++++++++++ public/map/MapLocationActive.svg | 24 +++++++++++++++++++ public/map/MyLocation.svg | 18 +++++++++++++++ public/map/OfficeActive.svg | 38 +++++++++++++++---------------- public/map/OfficeInActive.svg | 38 +++++++++++++++---------------- src/components/map/UseMap.tsx | 14 ++++++------ 7 files changed, 111 insertions(+), 45 deletions(-) delete mode 100644 public/map/MapLocation.png create mode 100644 public/map/MapLocation.svg create mode 100644 public/map/MapLocationActive.svg create mode 100644 public/map/MyLocation.svg diff --git a/public/map/MapLocation.png b/public/map/MapLocation.png deleted file mode 100644 index f4f7005dafacdaed7971dba4ca6adbec96570895..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2245 zcmV;$2s-zPP)O4UER&1vM2}x7`9;?2Qo?m=uI>kOyuN5N! zi-43;z5njryYiJQR~F;4T+_5-r_-6N>v}TV@OvDm0sJ2D`~4jsKYnaaOH2D({1+hM z!NI}R6B83n)6>)aASCUA&+?rwU%u>r_3BlwIr-&=g9A-XO*MJF-Z8mI_e>vq54jhwXM@*iio0^)m&!0c{%P4W< z#tn5u3yjTJugNg7(Sj|FljH2!vs!I!ZDV|Ve6ENRot>TPh!z-o6Y@kOxHy10?ON~+ zT6_2I-FXQK3HwBp7#J83u$VfYK7A^p#flXxj_%yKb2T{y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Vkvx|W?#JM8 z8y0akG&KCUW53i_SGMxYP>8+AQ-@}#$}uC5dJbS4$_ z@8N+zyryCKX;|E|e*Jn6i0jNPAwK}wB+g3~V=jcI7<>}r1Y!x41uhJ(+B_bQhJj~o z{XkBgao>S!iLEb5@N{e&GWCT`37?U6o9hUXsOwv4iAqyXB z8Xqc4AL}G3=T?480*ljXbRLE)!}}AA(3!#%&1%lb0qMNvfoql#$wq8m!3>SFi{VZf z|LTbd5b^X3-P1T~1HwKq3I6x#Ks + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/map/MapLocationActive.svg b/public/map/MapLocationActive.svg new file mode 100644 index 0000000..60a5997 --- /dev/null +++ b/public/map/MapLocationActive.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/map/MyLocation.svg b/public/map/MyLocation.svg new file mode 100644 index 0000000..65be417 --- /dev/null +++ b/public/map/MyLocation.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/public/map/OfficeActive.svg b/public/map/OfficeActive.svg index d6b99cf..7e15fbb 100644 --- a/public/map/OfficeActive.svg +++ b/public/map/OfficeActive.svg @@ -1,30 +1,30 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - - + + diff --git a/public/map/OfficeInActive.svg b/public/map/OfficeInActive.svg index e2a5f4d..45c414d 100644 --- a/public/map/OfficeInActive.svg +++ b/public/map/OfficeInActive.svg @@ -1,30 +1,30 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + - - + + diff --git a/src/components/map/UseMap.tsx b/src/components/map/UseMap.tsx index 6986ae6..66ed554 100644 --- a/src/components/map/UseMap.tsx +++ b/src/components/map/UseMap.tsx @@ -12,7 +12,7 @@ const UseMap: React.FC = () => { const mapRef = useRef(null); const markerRef = useRef(null); const markerRefs = useRef<{ [key: string]: naver.maps.Marker }>({}); - const [imageSrc, setImageSrc] = useState('/map/MapLocation.png'); + const [imageSrc, setImageSrc] = useState('/map/MapLocation.svg'); const [showMessage, setShowMessage] = useState(true); const [showSearchResults, setShowSearchResults] = useState(false); const [loading, setLoading] = useState(false); @@ -173,7 +173,7 @@ const UseMap: React.FC = () => { position: currentLocation, map: map, icon: { - url: '/map/MyLocation.png', + url: '/map/MyLocation.svg', size: new naver.maps.Size(48, 48), scaledSize: new naver.maps.Size(48, 48), origin: new naver.maps.Point(0, 0), @@ -255,13 +255,13 @@ const UseMap: React.FC = () => {
{showMessage && ( <> -
+
더 정확한 접속위치를 확인해보세요!
closeBtn
- Current Location + Current Location )} setShowSearchResults(true)} onChange={handleSearchQueryChange} /> @@ -284,9 +284,9 @@ const UseMap: React.FC = () => { />