-
+
>
From 82b923f3c502d42362320989bfb19c4d7477cb09 Mon Sep 17 00:00:00 2001
From: 5nxtnxtnxt <5nxtnxtnxt@gmail.com>
Date: Fri, 17 May 2024 12:55:00 +0900
Subject: [PATCH 6/7] =?UTF-8?q?css:=20map=20polyline=20=EC=8A=A4=ED=83=80?=
=?UTF-8?q?=EC=9D=BC=20=EB=B3=80=EA=B2=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/map.tsx | 6 +++---
public/img/markerImg.png | Bin 0 -> 131 bytes
2 files changed, 3 insertions(+), 3 deletions(-)
create mode 100644 public/img/markerImg.png
diff --git a/components/map.tsx b/components/map.tsx
index 1070cef..c04ea45 100644
--- a/components/map.tsx
+++ b/components/map.tsx
@@ -42,10 +42,10 @@ export default function Map() {
const polyline = new kakaoMap.Polyline({
map: map,
path: dots,
- strokeWeight: 2,
- strokeColor: '#FF00FF',
+ strokeWeight: 5,
+ strokeColor: '#ff6600',
strokeOpacity: 0.8,
- strokeStyle: 'dashed',
+ strokeStyle: 'solid',
});
const addMarker = (latLng: latLng) => {
diff --git a/public/img/markerImg.png b/public/img/markerImg.png
new file mode 100644
index 0000000000000000000000000000000000000000..4c4b59bf1b8999e99154adf6615f93ab0d618aa8
GIT binary patch
literal 131
zcmeAS@N?(olHy`uVBq!ia0vp^93afW1|*O0@9PFqjKx9jP7LeL$-D$|SkfJR9T^xl
z_H+M9WCij$3p^r=85sBugD~Uq{1qucK?zS6#}JL+WQL~yECz?`V-hkn5A;g@V`ea3
WwK}wOxvmCK4TGnvpUXO@geCw^t|3?e
literal 0
HcmV?d00001
From 9cf34a64d7c31e814b3530e53ffdfe3112782c1f Mon Sep 17 00:00:00 2001
From: 5nxtnxtnxt <5nxtnxtnxt@gmail.com>
Date: Fri, 17 May 2024 14:39:50 +0900
Subject: [PATCH 7/7] test
---
app/map/page.tsx | 11 +++++++++++
components/map.tsx | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/app/map/page.tsx b/app/map/page.tsx
index b188eb7..291be86 100644
--- a/app/map/page.tsx
+++ b/app/map/page.tsx
@@ -1,11 +1,22 @@
+'use client';
+
+import { useRef } from 'react';
import { HeadBar, Map, Navigation } from '@components';
+import { Button } from '@shadcn';
export default function Home() {
+ const mode = useRef(false);
+ const c = () => {
+ mode.current = !mode.current;
+ };
return (
<>