컨텍스트에 따라 지도 스타일 지정
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.

이제 컨텍스트를 사용하여 앱에서 지도 스타일을 변경할 수 있습니다. 지도 ID를 변경하지 않고도 앱에서 스타일을 자동으로 전환할 수 있도록 밝은 스타일, 어두운 스타일, 흑백 지도 스타일을 만드세요. 지도 스타일을 만들 때 밝은 스타일, 어두운 스타일, 모노크롬 밝은 스타일, 모노크롬 어두운 스타일 등 여러 기본 스타일 중에서 선택할 수 있습니다. 타겟 스타일에 가장 가까운 기본 스타일을 선택한 다음 필요에 따라 맞춤설정합니다.
밝은 지도 스타일과 어두운 지도 스타일을 맞춤설정하면 두 스타일을 하나의 지도 ID와 연결할 수 있습니다. 애플리케이션에서 지도 ID를 사용하면 지도가 밝은 모드 또는 어두운 모드로 전환될 때 지도 스타일이 지도 스타일 간에 자동으로 전환됩니다.
지도 ID로 밝은 지도 스타일과 어두운 지도 스타일을 사용하려면 새 스타일 만들기 및 스타일을 지도 ID에 연결로 이동하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-31(UTC)
[null,null,["최종 업데이트: 2025-08-31(UTC)"],[],[],null,["Select platform: [Android](/maps/documentation/android-sdk/cloud-customization/contextual-styling \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/cloud-customization/contextual-styling \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/cloud-customization/contextual-styling \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/maps-static/cloud-customization/contextual-styling \"View this page for the Web Service platform docs.\")\n\n\u003cbr /\u003e\n\n| Dark styles are [Experimental](/maps/launch-stages#experimental).\n\nYou can now use context to change a map style in your app. Create light, dark,\nand monochrome map styles to automatically switch styles in\nyour apps without changing the map ID. When you create a map style, you can\nselect from several base styles: light, dark, monochrome light, or monochrome\ndark. Choose the base style closest to your target style and then customize for\nyour needs.\n\nWith a light and dark map style customized, you can then associate both with\none map ID. When you use the map ID in your applications, the map style\nautomatically switches between map styles when the map goes into light or dark\nmode.\n\nTo get started using light and dark map styles with map IDs, go to\n[Create a new style](/maps/documentation/maps-static/cloud-customization/map-styles#create-new-style) and\n[Associate your style to a map ID](/maps/documentation/maps-static/cloud-customization/map-styles#associate-style-with-map-id)."]]