Navigation SDK는 현재 일부 고객만 사용할 수 있습니다. 자세한 내용은 영업팀에 문의하세요.
새로운 지도 스타일 지정 기능이 곧 Google Maps Platform에 도입될 예정입니다. 이번 지도 스타일 지정 업데이트에는 새로운 기본 색상 팔레트가 추가되었으며 지도 환경 및 사용성이 개선되었습니다. 모든 지도 스타일은 2025년 3월에 자동으로 업데이트됩니다. 사용 가능 여부 및 이전에 선택한 방법에 대한 자세한 내용은 Google Maps Platform의 새 지도 스타일을 참고하세요.
탐색 세션이 완료되면 Navigator#clearDestinations 및 Navigator#cleanup 사용
메모리 누출을 방지하고 올바르게 정리하려면 탐색 세션이 완료되고 Navigator 인스턴스가 더 이상 필요하지 않은 후에 Navigator#clearDestinations 및 Navigator#cleanup를 사용하세요. 이는 사용자가 지도에서 벗어나고 연결된 활동의 onDestroy()가 호출될 때 실행할 수 있습니다.
더 이상 필요하지 않은 GoogleMap 요소 정리
앱에서 탐색 이외의 지도 환경에 GoogleMap 인스턴스를 사용하는 경우 더 이상 필요하지 않은 경우 이 인스턴스를 정리해야 합니다. 예를 들어 Polygon#remove, Polyline#remove, Marker#remove 메서드를 각각 호출하여 GoogleMap와 연결된 다각형, 다중선, 마커 요소를 정리합니다. 그런 다음 더 이상 필요하지 않은 GoogleMap 인스턴스를 해제하려면 GoogleMap#clear를 호출하여 인스턴스를 null에 할당합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-05-08(UTC)"],[[["Use `Navigator#clearDestinations` and `Navigator#cleanup` when navigation sessions are completed to prevent memory leaks."],["Clean up `GoogleMap` elements like Polygons, Polylines, and Markers by calling their respective `remove` methods when they are no longer needed."],["After a `GoogleMap` instance is no longer in use, call `GoogleMap#clear` and assign the instance to `null` to free up resources."]]],[]]