Skip to content

Commit

Permalink
Design: 카카오 지도 마커 이미지 offset 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaeYubin committed Aug 10, 2024
1 parent d05c3ac commit 4a6db3c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/hooks/custom/useKakaoMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ const useKakaoMap = (
isMarkerSundy
? new window.kakao.maps.Size(36, 56)
: new window.kakao.maps.Size(37, 50),
{ offset: new window.kakao.maps.Point(27, 60) },
{
offset: isMarkerSundy
? new window.kakao.maps.Point(18, 56)
: new window.kakao.maps.Point(18, 50),
},
);

const currentMarkerPosition = new window.kakao.maps.LatLng(
Expand Down

0 comments on commit 4a6db3c

Please sign in to comment.