클러스터 커스텀 이미지 설정 기능 및 클러스터 마케에 캡션 설정 기능 추가#139
Open
Chimaa123 wants to merge 17 commits into
Open
Conversation
Owner
|
PR 감사드립니다. 확인해보도록 하겠습니다. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Owner
|
브랜치에 대해 |
Author
|
@mym0404 안녕하세요? 덧글 지금 확인했습니다. 브렌치 업데이트해서 올립니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change?
feat1: setting custom image to cluster
feat2: setting captions to cluster marker
🐛 문제 상황
네이버맵에서 클러스터를 적용 시에 클러스터에 커스텀 이미지를 설정하는 기능과 클러스터 내부 마커에서 캡션 설정하는 기능이 없었습니다.
👍 해결방법
따라서 클러스터 이미지 prop 및 클러스터에 속하는 마커에서 caption을 설정하는 기능을 Android, IOS 에서 개발했습니다.
🧪 테스트 방법
NaverMapView 에 clusters prop을 넘길 때 image를 다음과 같이 세팅 할 수 있습니다. 그리고 clusters의 markers에 caption을 다음 예제와 같이 설정할 수 있습니다. caption type는 일단 마커의 캡션 타입과 똑같습니다.