새로운 지도 스타일이 곧 Google Maps Platform에 제공될 예정입니다. 이 지도 스타일 지정 업데이트에는 새로운 기본 색상 팔레트와 지도 환경 및 사용성 개선사항이 포함됩니다. 모든 지도 스타일이 2025년 3월에 자동으로 업데이트됩니다. 사용 가능 여부 및 더 일찍 선택하는 방법에 대한 자세한 내용은
Google Maps Platform용 새로운 지도 스타일을 참고하세요.
개요
고급 마커를 사용하면 성능이 뛰어난 마커를 만들고 맞춤설정할 수 있습니다. 기본 마커의 배경, 테두리와 글리프 색상을 맞춤설정하고 기본 마커 아이콘을 맞춤 그래픽 이미지로 대체할 수 있습니다.
고급 마커는
AdvancedMarker
유형의 객체이며,
이는 Marker
의
서브클래스입니다.
고급 마커를 사용하면 다음을 비롯한
기존 Marker
속성을 모두 맞춤설정할 수 있습니다.
고급 마커에는 다음과 같은 기능이 추가되었습니다.
- 색상 핀 맞춤설정
- Android
뷰를
마커로 설정
- 충돌 동작 제어
마커 속성 맞춤설정
기본 마커의 배경, 글리프, 테두리 색상을 맞춤설정합니다.
Android 뷰를 마커로 사용
기본 마커 아이콘을 완전히 맞춤설정된 마커가 포함된
Android View
로 대체합니다.
마커 충돌 동작 설정
마커가 다른 마커 또는 지도 라벨과 충돌할 때의 동작을 지정합니다. 마커 고도는 벡터 지도에서만 설정할 수 있습니다.
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2024-05-14(UTC)
[null,null,["최종 업데이트: 2024-05-14(UTC)"],[[["Advanced markers allow you to create highly performant and customizable markers, offering control over background, border, glyph color, and the ability to replace the default icon with custom graphics."],["They inherit all existing `Marker` properties, including title, snippet, click events, and drag events, while adding features like customizing colored pins, using Android views as markers, and controlling collision behavior."],["Developers can further personalize markers by customizing the default marker's appearance, including background, glyph, and border color, or even replace it entirely with a custom Android view."],["Advanced markers also provide options for managing collision behavior, allowing developers to specify how markers should react when overlapping with other markers or map labels."]]],[]]