-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: improve dx of kakao map #50
Conversation
The latest updates on your projects. Preview: https://vitamin-c-hgyc5wbvb-poiu694s-projects.vercel.app
|
The latest updates on your projects. Preview: https://vitamin-c-p6ph1nobx-poiu694s-projects.vercel.app
|
- add 'zoom_changed' event listener - change existing 'level' to 'defaultLevel' - update effect deps
The latest updates on your projects. Preview: https://vitamin-c-5ib7jgh5f-poiu694s-projects.vercel.app
|
- remove level state - remove Effect
The latest updates on your projects. Preview: https://vitamin-c-2cxwwappm-poiu694s-projects.vercel.app
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest updates on your projects. Preview: https://vitamin-c-ew91w57fv-poiu694s-projects.vercel.app
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생캅..
const position = new kakao.maps.LatLng(latitude, longitude) | ||
const content = createMarkerContent(type, iconSize, isSaved, className) | ||
|
||
const customOverlay = new kakao.maps.CustomOverlay({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
마커를 이 방식으로 사용할 수 있다는 게 신기하네요..
|
||
if (IconComponent) { | ||
const baseIcon = createBaseIcon(IconComponent, size) | ||
container.appendChild(baseIcon) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분은 maeker에 이미지 url를 입력하는 게 아니라 marker가 들어가는 공간에 아이콘 컴포넌트를 삽입하는 걸로 이해하면 될까요?
Description
Checklist
feat: add login page
)