dependencies {
// Utility Library for Maps SDK for Android
// You do not need to add a separate dependency for the Maps SDK for Android
// since this library builds in the compatible version of the Maps SDK.
implementation 'com.google.maps.android:android-maps-utils:3.8.0'
}
Android용 Maps SDK 유틸리티 라이브러리는 해당 Kotlin 확장 프로그램(KTX) 라이브러리와
함께 제공됩니다. 이 라이브러리에서는 확장 프로그램 기능, 이름이 지정된 기본 인수 등과 같은
Kotlin 언어 기능을 제공하여 간결하고 자연스러운 Kotlin을 작성할 수 있습니다. Kotlin에서 개발하지 않는 경우
이 단계를 건너뛸 수 있습니다.
이 라이브러리를
사용하려면 android-maps-utils 종속 항목 외에 다음 종속 항목을 앱의 build.gradle 파일에 추가하세요.
dependencies {
// KTX for the Maps SDK for Android Utility Library
implementation 'com.google.maps.android:maps-utils-ktx:5.1.1'
}
유틸리티 라이브러리는 오픈소스이므로
android-maps-utils
라이브러리를 다운로드하여 라이브러리를 맞춤설정하고 데모 앱을 보거나 라이브러리 작동 방식을
파악할 수 있습니다. 저장소를
클론(권장됨, 자동 업데이트 수신)하거나
zip 파일을
다운로드하면
됩니다. 라이브러리를 맞춤설정하려면
저장소를 포크해야 합니다.
저장소는 다음 항목을 포함합니다.
demo 디렉터리에 있는 데모 애플리케이션
library 디렉터리에 있는 유틸리티 라이브러리
라이선스, 참여자, 리드미를 포함한 다양한 파일
Android 스튜디오에서 사용할 Gradle 빌드 구성
유틸리티 데모 앱 실행
유틸리티 라이브러리용 GitHub 저장소에는 각 유틸리티의
샘플 구현이 포함된 데모 앱이 함께 제공됩니다. 다음 단계에 따라 Android 기기에서
데모 앱을 실행합니다.
[[["이해하기 쉬움","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"]],["최종 업데이트: 2024-08-13(UTC)"],[[["\u003cp\u003eThis page explains how to set up the Maps SDK for Android utility library and run its demo app, allowing you to utilize features like marker clustering and heatmaps.\u003c/p\u003e\n"],["\u003cp\u003eThe library supports Android API level 15 and above, requiring you to add a specific dependency to your app's \u003ccode\u003ebuild.gradle.kts\u003c/code\u003e file for implementation.\u003c/p\u003e\n"],["\u003cp\u003eAn optional Kotlin extensions (KTX) library provides Kotlin-specific features for more concise coding if you are developing in Kotlin.\u003c/p\u003e\n"],["\u003cp\u003eThe open-source nature of the library allows for customization by cloning or downloading the \u003ccode\u003eandroid-maps-utils\u003c/code\u003e repository from GitHub.\u003c/p\u003e\n"],["\u003cp\u003eYou can explore the functionalities of the library by running the demo app included in the repository, requiring steps like adding your API key and building the project in Android Studio.\u003c/p\u003e\n"]]],["To set up the Maps SDK for Android utility library, add the `android-maps-utils` dependency to your `build.gradle.kts` file. Optionally, include the `maps-utils-ktx` dependency for Kotlin features. The library, which supports Android API level 15 and above, is open-source and can be downloaded from GitHub. To run the included demo app, clone the repository, import the project into Android Studio, enable developer mode on your Android device, add your API key to `local.properties`, and then build and run the app.\n"],null,[]]