├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── support_request.md ├── PULL_REQUEST_TEMPLATE │ └── pull_request_template.md ├── dependabot.yml ├── header-checker-lint.yml ├── pull_request_template.md ├── snippet-bot.yml ├── stale.yml ├── sync-repo-settings.yaml └── workflows │ ├── build.yml │ ├── generate-v3.yml │ └── release.yml ├── .gitignore ├── .releaserc ├── ApiDemos ├── V3_FILE_HEADER ├── project │ ├── .gitignore │ ├── README.md │ ├── build.gradle.kts │ ├── common-ui │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── consumer-rules.pro │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── androidTest │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── common_ui │ │ │ │ └── ExampleInstrumentedTest.kt │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── res │ │ │ │ ├── drawable-hdpi │ │ │ │ ├── arrow.png │ │ │ │ ├── badge_nsw.png │ │ │ │ ├── badge_nt.png │ │ │ │ ├── badge_qld.png │ │ │ │ ├── badge_sa.png │ │ │ │ ├── badge_victoria.png │ │ │ │ ├── badge_wa.png │ │ │ │ ├── custom_info_bubble.9.png │ │ │ │ └── pegman.png │ │ │ │ ├── drawable-mdpi │ │ │ │ ├── arrow.png │ │ │ │ ├── custom_info_bubble.9.png │ │ │ │ └── pegman.png │ │ │ │ ├── drawable-nodpi │ │ │ │ ├── chevron.png │ │ │ │ └── ook.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ └── pegman.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ └── pegman.png │ │ │ │ ├── drawable │ │ │ │ ├── baseline_arrow_drop_down_24.xml │ │ │ │ ├── chevron.png │ │ │ │ ├── harbour_bridge.jpg │ │ │ │ ├── ic_android.xml │ │ │ │ ├── newark_nj_1922.png │ │ │ │ └── newark_prudential_sunny.jpg │ │ │ │ ├── layout-land │ │ │ │ └── snapshot_demo.xml │ │ │ │ ├── layout │ │ │ │ ├── advanced_markers_demo.xml │ │ │ │ ├── background_color_customization_demo.xml │ │ │ │ ├── background_color_customization_programmatic_demo.xml │ │ │ │ ├── basic_demo.xml │ │ │ │ ├── camera_clamping_demo.xml │ │ │ │ ├── camera_demo.xml │ │ │ │ ├── circle_demo.xml │ │ │ │ ├── cloud_styling_basic_demo.xml │ │ │ │ ├── custom_info_contents.xml │ │ │ │ ├── custom_info_window.xml │ │ │ │ ├── data_driven_boundaries_demo.xml │ │ │ │ ├── data_driven_styling_demo.xml │ │ │ │ ├── events_demo.xml │ │ │ │ ├── feature.xml │ │ │ │ ├── ground_overlay_demo.xml │ │ │ │ ├── indoor_demo.xml │ │ │ │ ├── layers_demo.xml │ │ │ │ ├── legal_info.xml │ │ │ │ ├── lite_demo.xml │ │ │ │ ├── lite_list_demo.xml │ │ │ │ ├── lite_list_demo_row.xml │ │ │ │ ├── main.xml │ │ │ │ ├── map_color_scheme_demo.xml │ │ │ │ ├── map_in_pager_demo.xml │ │ │ │ ├── marker_close_info_window_on_retap_demo.xml │ │ │ │ ├── marker_demo.xml │ │ │ │ ├── multimap_demo.xml │ │ │ │ ├── my_location_demo.xml │ │ │ │ ├── options_demo.xml │ │ │ │ ├── polygon_demo.xml │ │ │ │ ├── polyline_demo.xml │ │ │ │ ├── raw_mapview_demo.xml │ │ │ │ ├── save_state_demo.xml │ │ │ │ ├── snapshot_demo.xml │ │ │ │ ├── split_street_view_panorama_and_map_demo.xml │ │ │ │ ├── street_view_panorama_basic_demo.xml │ │ │ │ ├── street_view_panorama_events_demo.xml │ │ │ │ ├── street_view_panorama_navigation_demo.xml │ │ │ │ ├── street_view_panorama_options_demo.xml │ │ │ │ ├── street_view_panorama_view_demo.xml │ │ │ │ ├── styled_map_demo.xml │ │ │ │ ├── tags_demo.xml │ │ │ │ ├── text_fragment.xml │ │ │ │ ├── tile_coordinate_demo.xml │ │ │ │ ├── tile_overlay_demo.xml │ │ │ │ ├── ui_settings_demo.xml │ │ │ │ └── visible_region_demo.xml │ │ │ │ ├── menu │ │ │ │ ├── boundary_types_menu.xml │ │ │ │ ├── lite_list_menu.xml │ │ │ │ └── styled_map.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ │ ├── raw │ │ │ │ ├── mapstyle_grayscale.json │ │ │ │ ├── mapstyle_night.json │ │ │ │ └── mapstyle_retro.json │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── test │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── common_ui │ │ │ └── ExampleUnitTest.kt │ ├── gradle.properties │ ├── gradle │ │ ├── libs.versions.toml │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── java-app │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── mapdemo │ │ │ │ ├── AdvancedMarkersDemoActivity.java │ │ │ │ ├── ApiDemoApplication.java │ │ │ │ ├── BackgroundColorCustomizationDemoActivity.java │ │ │ │ ├── BackgroundColorCustomizationProgrammaticDemoActivity.java │ │ │ │ ├── BasicMapDemoActivity.java │ │ │ │ ├── CameraClampingDemoActivity.java │ │ │ │ ├── CameraDemoActivity.java │ │ │ │ ├── CircleDemoActivity.java │ │ │ │ ├── CloudBasedMapStylingDemoActivity.java │ │ │ │ ├── DataDrivenBoundariesActivity.java │ │ │ │ ├── DataDrivenDatasetStylingActivity.java │ │ │ │ ├── DemoDetails.java │ │ │ │ ├── DemoDetailsList.java │ │ │ │ ├── EventsDemoActivity.java │ │ │ │ ├── FeatureView.java │ │ │ │ ├── GroundOverlayDemoActivity.java │ │ │ │ ├── IndoorDemoActivity.java │ │ │ │ ├── LayersDemoActivity.java │ │ │ │ ├── LiteDemoActivity.java │ │ │ │ ├── LiteListDemoActivity.java │ │ │ │ ├── LocationSourceDemoActivity.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── MapColorSchemeActivity.java │ │ │ │ ├── MapInPagerDemoActivity.java │ │ │ │ ├── MarkerCloseInfoWindowOnRetapDemoActivity.java │ │ │ │ ├── MarkerDemoActivity.java │ │ │ │ ├── MultiMapDemoActivity.java │ │ │ │ ├── MyLocationDemoActivity.java │ │ │ │ ├── OnMapAndViewReadyListener.java │ │ │ │ ├── OptionsDemoActivity.java │ │ │ │ ├── PermissionUtils.java │ │ │ │ ├── PolygonDemoActivity.java │ │ │ │ ├── PolylineDemoActivity.java │ │ │ │ ├── ProgrammaticDemoActivity.java │ │ │ │ ├── RawMapViewDemoActivity.java │ │ │ │ ├── RetainMapDemoActivity.java │ │ │ │ ├── SamplesBaseActivity.java │ │ │ │ ├── SaveStateDemoActivity.java │ │ │ │ ├── SnapshotDemoActivity.java │ │ │ │ ├── SplitStreetViewPanoramaAndMapDemoActivity.java │ │ │ │ ├── StreetViewPanoramaBasicDemoActivity.java │ │ │ │ ├── StreetViewPanoramaEventsDemoActivity.java │ │ │ │ ├── StreetViewPanoramaNavigationDemoActivity.java │ │ │ │ ├── StreetViewPanoramaOptionsDemoActivity.java │ │ │ │ ├── StreetViewPanoramaViewDemoActivity.java │ │ │ │ ├── StyledMapDemoActivity.java │ │ │ │ ├── TagsDemoActivity.java │ │ │ │ ├── TileCoordinateDemoActivity.java │ │ │ │ ├── TileOverlayDemoActivity.java │ │ │ │ ├── UiSettingsDemoActivity.java │ │ │ │ └── VisibleRegionDemoActivity.java │ │ │ └── v3 │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── mapdemo │ │ │ │ ├── BasicMapDemoActivity.java │ │ │ │ ├── CameraClampingDemoActivity.java │ │ │ │ ├── CameraDemoActivity.java │ │ │ │ ├── CircleDemoActivity.java │ │ │ │ ├── CloudBasedMapStylingDemoActivity.java │ │ │ │ ├── DemoDetails.java │ │ │ │ ├── DemoDetailsList.java │ │ │ │ ├── EventsDemoActivity.java │ │ │ │ ├── FeatureView.java │ │ │ │ ├── GroundOverlayDemoActivity.java │ │ │ │ ├── IndoorDemoActivity.java │ │ │ │ ├── LayersDemoActivity.java │ │ │ │ ├── LiteDemoActivity.java │ │ │ │ ├── LiteListDemoActivity.java │ │ │ │ ├── LocationSourceDemoActivity.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── MapInPagerDemoActivity.java │ │ │ │ ├── MarkerCloseInfoWindowOnRetapDemoActivity.java │ │ │ │ ├── MarkerCollisionDemoActivity.java │ │ │ │ ├── MarkerDemoActivity.java │ │ │ │ ├── MultiMapDemoActivity.java │ │ │ │ ├── MyLocationDemoActivity.java │ │ │ │ ├── OnMapAndViewReadyListener.java │ │ │ │ ├── OptionsDemoActivity.java │ │ │ │ ├── PermissionUtils.java │ │ │ │ ├── PolygonDemoActivity.java │ │ │ │ ├── ProgrammaticDemoActivity.java │ │ │ │ ├── RawMapViewDemoActivity.java │ │ │ │ ├── RetainMapDemoActivity.java │ │ │ │ ├── SaveStateDemoActivity.java │ │ │ │ ├── SnapshotDemoActivity.java │ │ │ │ ├── SplitStreetViewPanoramaAndMapDemoActivity.java │ │ │ │ ├── StreetViewPanoramaBasicDemoActivity.java │ │ │ │ ├── StreetViewPanoramaEventsDemoActivity.java │ │ │ │ ├── StreetViewPanoramaNavigationDemoActivity.java │ │ │ │ ├── StreetViewPanoramaOptionsDemoActivity.java │ │ │ │ ├── StreetViewPanoramaViewDemoActivity.java │ │ │ │ ├── StyledMapDemoActivity.java │ │ │ │ ├── TagsDemoActivity.java │ │ │ │ ├── TileCoordinateDemoActivity.java │ │ │ │ ├── TileOverlayDemoActivity.java │ │ │ │ ├── UiSettingsDemoActivity.java │ │ │ │ ├── VisibleRegionDemoActivity.java │ │ │ │ ├── anim │ │ │ │ └── AnimationManager.java │ │ │ │ ├── model │ │ │ │ └── MoveDirection.java │ │ │ │ └── polyline │ │ │ │ ├── PolylineCapControlFragment.java │ │ │ │ ├── PolylineColorControlFragment.java │ │ │ │ ├── PolylineControlFragment.java │ │ │ │ ├── PolylineControlFragmentPagerAdapter.java │ │ │ │ ├── PolylineDemoActivity.java │ │ │ │ ├── PolylineJointControlFragment.java │ │ │ │ ├── PolylineOtherOptionsControlFragment.java │ │ │ │ ├── PolylinePatternControlFragment.java │ │ │ │ ├── PolylinePointsControlFragment.java │ │ │ │ ├── PolylineSpansControlFragment.java │ │ │ │ └── PolylineWidthControlFragment.java │ │ │ └── res │ │ │ └── layout │ │ │ ├── basic_demo.xml │ │ │ ├── camera_clamping_demo.xml │ │ │ ├── camera_demo.xml │ │ │ ├── circle_demo.xml │ │ │ ├── cloud_styling_basic_demo.xml │ │ │ ├── custom_info_contents.xml │ │ │ ├── custom_info_window.xml │ │ │ ├── events_demo.xml │ │ │ ├── feature.xml │ │ │ ├── ground_overlay_demo.xml │ │ │ ├── indoor_demo.xml │ │ │ ├── layers_demo.xml │ │ │ ├── legal_info.xml │ │ │ ├── lite_demo.xml │ │ │ ├── lite_list_demo.xml │ │ │ ├── lite_list_demo_row.xml │ │ │ ├── main.xml │ │ │ ├── map_in_pager_demo.xml │ │ │ ├── marker_close_info_window_on_retap_demo.xml │ │ │ ├── marker_collision_demo.xml │ │ │ ├── marker_demo.xml │ │ │ ├── multimap_demo.xml │ │ │ ├── my_location_demo.xml │ │ │ ├── options_demo.xml │ │ │ ├── polygon_demo.xml │ │ │ ├── polyline_cap_control_fragment.xml │ │ │ ├── polyline_color_control_fragment.xml │ │ │ ├── polyline_demo.xml │ │ │ ├── polyline_joint_control_fragment.xml │ │ │ ├── polyline_other_options_control_fragment.xml │ │ │ ├── polyline_pattern_control_fragment.xml │ │ │ ├── polyline_points_control_fragment.xml │ │ │ ├── polyline_spans_control_fragment.xml │ │ │ ├── polyline_width_control_fragment.xml │ │ │ ├── raw_mapview_demo.xml │ │ │ ├── save_state_demo.xml │ │ │ ├── snapshot_demo.xml │ │ │ ├── split_street_view_panorama_and_map_demo.xml │ │ │ ├── street_view_panorama_basic_demo.xml │ │ │ ├── street_view_panorama_events_demo.xml │ │ │ ├── street_view_panorama_navigation_demo.xml │ │ │ ├── street_view_panorama_options_demo.xml │ │ │ ├── street_view_panorama_view_demo.xml │ │ │ ├── styled_map_demo.xml │ │ │ ├── tags_demo.xml │ │ │ ├── text_fragment.xml │ │ │ ├── tile_coordinate_demo.xml │ │ │ ├── tile_overlay_demo.xml │ │ │ ├── ui_settings_demo.xml │ │ │ └── visible_region_demo.xml │ ├── kotlin-app │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── kotlindemos │ │ │ │ │ ├── AdvancedMarkersDemoActivity.kt │ │ │ │ │ ├── ApiDemoApplication.kt │ │ │ │ │ ├── BackgroundColorCustomizationDemoActivity.kt │ │ │ │ │ ├── BackgroundColorCustomizationProgrammaticDemoActivity.kt │ │ │ │ │ ├── BasicMapDemoActivity.kt │ │ │ │ │ ├── CameraClampingDemoActivity.kt │ │ │ │ │ ├── CameraDemoActivity.kt │ │ │ │ │ ├── CircleDemoActivity.kt │ │ │ │ │ ├── CloudBasedMapStylingDemoActivity.kt │ │ │ │ │ ├── DataDrivenBoundariesActivity.kt │ │ │ │ │ ├── DataDrivenDatasetStylingActivity.kt │ │ │ │ │ ├── DemoDetails.kt │ │ │ │ │ ├── DemoDetailsList.kt │ │ │ │ │ ├── EventsDemoActivity.kt │ │ │ │ │ ├── FeatureView.kt │ │ │ │ │ ├── GroundOverlayDemoActivity.kt │ │ │ │ │ ├── IndoorDemoActivity.kt │ │ │ │ │ ├── LayersDemoActivity.kt │ │ │ │ │ ├── LiteDemoActivity.kt │ │ │ │ │ ├── LiteListDemoActivity.kt │ │ │ │ │ ├── LocationSourceDemoActivity.kt │ │ │ │ │ ├── MainActivity.kt │ │ │ │ │ ├── MapColorSchemeActivity.kt │ │ │ │ │ ├── MapInPagerDemoActivity.kt │ │ │ │ │ ├── MarkerCloseInfoWindowOnRetapDemoActivity.kt │ │ │ │ │ ├── MarkerDemoActivity.kt │ │ │ │ │ ├── MultiMapDemoActivity.kt │ │ │ │ │ ├── MyLocationDemoActivity.kt │ │ │ │ │ ├── OnMapAndViewReadyListener.kt │ │ │ │ │ ├── OptionsDemoActivity.kt │ │ │ │ │ ├── PermissionUtils.kt │ │ │ │ │ ├── PolygonDemoActivity.kt │ │ │ │ │ ├── PolylineDemoActivity.kt │ │ │ │ │ ├── ProgrammaticDemoActivity.kt │ │ │ │ │ ├── RawMapViewDemoActivity.kt │ │ │ │ │ ├── RetainMapDemoActivity.kt │ │ │ │ │ ├── SamplesBaseActivity.kt │ │ │ │ │ ├── SaveStateDemoActivity.kt │ │ │ │ │ ├── SnapshotDemoActivity.kt │ │ │ │ │ ├── SplitStreetViewPanoramaAndMapDemoActivity.kt │ │ │ │ │ ├── StreetViewPanoramaBasicDemoActivity.kt │ │ │ │ │ ├── StreetViewPanoramaEventsDemoActivity.kt │ │ │ │ │ ├── StreetViewPanoramaNavigationDemoActivity.kt │ │ │ │ │ ├── StreetViewPanoramaOptionsDemoActivity.kt │ │ │ │ │ ├── StreetViewPanoramaViewDemoActivity.kt │ │ │ │ │ ├── StyledMapDemoActivity.kt │ │ │ │ │ ├── TagsDemoActivity.kt │ │ │ │ │ ├── TileCoordinateDemoActivity.kt │ │ │ │ │ ├── TileOverlayDemoActivity.kt │ │ │ │ │ ├── UiSettingsDemoActivity.kt │ │ │ │ │ └── VisibleRegionDemoActivity.kt │ │ │ └── res │ │ │ │ ├── drawable-hdpi │ │ │ │ └── pegman.png │ │ │ │ ├── drawable-mdpi │ │ │ │ └── pegman.png │ │ │ │ ├── drawable-nodpi │ │ │ │ ├── chevron.png │ │ │ │ └── ook.png │ │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ │ ├── drawable-xhdpi │ │ │ │ └── pegman.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ └── pegman.png │ │ │ │ ├── drawable │ │ │ │ ├── ic_android.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ │ ├── menu │ │ │ │ ├── lite_list_menu.xml │ │ │ │ └── styled_map.xml │ │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── v3 │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── kotlindemos │ │ │ │ ├── BasicMapDemoActivity.kt │ │ │ │ ├── CameraDemoActivity.kt │ │ │ │ ├── CircleDemoActivity.kt │ │ │ │ ├── CloseInfoWindowDemoActivity.kt │ │ │ │ ├── CloudBasedMapStylingDemoActivity.kt │ │ │ │ ├── DemoDetails.kt │ │ │ │ ├── DemoDetailsList.kt │ │ │ │ ├── EventsDemoActivity.kt │ │ │ │ ├── FeatureView.kt │ │ │ │ ├── GroundOverlayDemoActivity.kt │ │ │ │ ├── IndoorDemoActivity.kt │ │ │ │ ├── LayersDemoActivity.kt │ │ │ │ ├── LiteDemoActivity.kt │ │ │ │ ├── LiteListDemoActivity.kt │ │ │ │ ├── MainActivity.kt │ │ │ │ ├── MarkerCloseInfoWindowOnRetapDemoActivity.kt │ │ │ │ ├── MarkerCollisionDemoActivity.kt │ │ │ │ ├── MarkerDemoActivity.kt │ │ │ │ ├── MyLocationDemoActivity.kt │ │ │ │ ├── OnMapAndViewReadyListener.kt │ │ │ │ ├── PermissionUtils.kt │ │ │ │ ├── PolygonDemoActivity.kt │ │ │ │ ├── RawMapViewDemoActivity.kt │ │ │ │ ├── SplitStreetViewPanoramaAndMapDemoActivity.kt │ │ │ │ ├── StreetViewPanoramaBasicDemoActivity.kt │ │ │ │ ├── StreetViewPanoramaEventsDemoActivity.kt │ │ │ │ ├── StreetViewPanoramaNavigationDemoActivity.kt │ │ │ │ ├── StreetViewPanoramaOptionsDemoActivity.kt │ │ │ │ ├── StreetViewPanoramaViewDemoActivity.kt │ │ │ │ ├── TagsDemoActivity.kt │ │ │ │ ├── TileCoordinateDemoActivity.kt │ │ │ │ ├── TileOverlayDemoActivity.kt │ │ │ │ ├── UiSettingsDemoActivity.kt │ │ │ │ ├── VisibleRegionDemoActivity.kt │ │ │ │ ├── anim │ │ │ │ └── AnimationManager.kt │ │ │ │ ├── model │ │ │ │ └── MoveDirection.kt │ │ │ │ └── polyline │ │ │ │ ├── PolylineCapControlFragment.kt │ │ │ │ ├── PolylineColorControlFragment.kt │ │ │ │ ├── PolylineControlFragment.kt │ │ │ │ ├── PolylineControlFragmentPagerAdapter.kt │ │ │ │ ├── PolylineDemoActivity.kt │ │ │ │ ├── PolylineJointControlFragment.kt │ │ │ │ ├── PolylineOtherOptionsControlFragment.kt │ │ │ │ ├── PolylinePatternControlFragment.kt │ │ │ │ ├── PolylinePointsControlFragment.kt │ │ │ │ ├── PolylineSpansControlFragment.kt │ │ │ │ └── PolylineWidthControlFragment.kt │ │ │ └── res │ │ │ └── layout │ │ │ ├── activity_basic_map_demo.xml │ │ │ ├── activity_circle_demo.xml │ │ │ ├── activity_lite_list_demo.xml │ │ │ ├── activity_main.xml │ │ │ ├── activity_marker_close_info_window_on_retap_demo.xml │ │ │ ├── activity_street_view_panorama_navigation_demo.xml │ │ │ ├── activity_ui_settings_demo.xml │ │ │ ├── camera_demo.xml │ │ │ ├── cloud_styling_basic_demo.xml │ │ │ ├── custom_info_contents.xml │ │ │ ├── custom_info_window.xml │ │ │ ├── events_demo.xml │ │ │ ├── feature.xml │ │ │ ├── ground_overlay_demo.xml │ │ │ ├── indoor_demo.xml │ │ │ ├── layers_demo.xml │ │ │ ├── lite_demo.xml │ │ │ ├── lite_list_demo_row.xml │ │ │ ├── marker_collision_demo.xml │ │ │ ├── marker_demo.xml │ │ │ ├── multicolor_polyline_demo.xml │ │ │ ├── my_location_demo.xml │ │ │ ├── polygon_demo.xml │ │ │ ├── polyline_cap_control_fragment.xml │ │ │ ├── polyline_color_control_fragment.xml │ │ │ ├── polyline_demo.xml │ │ │ ├── polyline_joint_control_fragment.xml │ │ │ ├── polyline_other_options_control_fragment.xml │ │ │ ├── polyline_pattern_control_fragment.xml │ │ │ ├── polyline_points_control_fragment.xml │ │ │ ├── polyline_spans_control_fragment.xml │ │ │ ├── polyline_width_control_fragment.xml │ │ │ ├── raw_mapview_demo.xml │ │ │ ├── split_street_view_panorama_and_map_demo.xml │ │ │ ├── street_view_panorama_basic_demo.xml │ │ │ ├── street_view_panorama_events_demo.xml │ │ │ ├── street_view_panorama_options_demo.xml │ │ │ ├── tags_demo.xml │ │ │ ├── tile_coordinate_demo.xml │ │ │ ├── tile_overlay_demo.xml │ │ │ └── visible_region_demo.xml │ ├── local.defaults.properties │ └── settings.gradle.kts └── resources │ ├── README.md │ ├── boulder_polylines.geojson │ ├── kyoto_polygons.geojson │ └── new_york_points.csv ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── WearOS ├── .gitignore ├── README.md ├── Wearable │ ├── .gitignore │ ├── build.gradle.kts │ ├── libs │ │ └── .gitignore │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── wearosmap │ │ │ ├── AmbientActivity.java │ │ │ └── MainActivity.java │ │ ├── kotlin │ │ └── com │ │ │ └── example │ │ │ └── wearosmap │ │ │ └── kt │ │ │ ├── AmbientActivity.kt │ │ │ └── MainActivity.kt │ │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ └── strings.xml ├── build.gradle.kts ├── gradle.properties ├── gradle │ ├── libs.versions.toml │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── local.defaults.properties ├── screenshots │ └── big_icon.png └── settings.gradle.kts ├── hooks └── pre-commit ├── images └── screenshots.png ├── open-in-idx-template ├── README.md ├── devNix.j2 ├── idx-template.json └── idx-template.nix ├── snippets ├── .gitignore ├── app-compose │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── app_compose │ │ │ └── MapsCompose.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── app-ktx │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── app_ktx │ │ │ └── KTX.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_maps.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── app-places-ktx │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── app-rx │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── app_rx │ │ │ ├── MapsRx.kt │ │ │ └── PlacesRx.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── values-night │ │ └── themes.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── themes.xml ├── app-utils-ktx │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── app_utils_ktx │ │ │ ├── Clustering.kt │ │ │ ├── GeoJSON.kt │ │ │ ├── Heatmaps.kt │ │ │ ├── KML.kt │ │ │ └── Multilayer.kt │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── raw │ │ ├── geojson_file.json │ │ ├── kml_file.kml │ │ └── police_stations.json │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml ├── app-utils │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── app_utils │ │ │ ├── Clustering.java │ │ │ ├── GeoJSON.java │ │ │ ├── Heatmaps.java │ │ │ ├── KML.java │ │ │ └── Multilayer.java │ │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.webp │ │ └── ic_launcher_round.webp │ │ ├── raw │ │ ├── geojson_file.json │ │ ├── kml_file.kml │ │ └── police_stations.json │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml ├── app │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── google │ │ │ │ └── maps │ │ │ │ └── example │ │ │ │ ├── AdvancedMarkersCollisionActivity.java │ │ │ │ ├── CameraAndView.java │ │ │ │ ├── CloudBasedMapStylingActivity.java │ │ │ │ ├── EventsActivity.java │ │ │ │ ├── GroundOverlays.java │ │ │ │ ├── InfoWindows.java │ │ │ │ ├── LiteMode.java │ │ │ │ ├── MapId.java │ │ │ │ ├── MapRendererOptInApplication.java │ │ │ │ ├── MapsActivity.java │ │ │ │ ├── MapsObject.java │ │ │ │ ├── Markers.java │ │ │ │ ├── MyLocationLayerActivity.java │ │ │ │ ├── OnPoiClickDemoActivity.java │ │ │ │ ├── PolylineCustomizationActivity.java │ │ │ │ ├── Shapes.java │ │ │ │ ├── StreetViewActivity.java │ │ │ │ ├── TileOverlays.java │ │ │ │ └── kotlin │ │ │ │ ├── AdvancedMarkersCollisionActivity.kt │ │ │ │ ├── CameraAndView.kt │ │ │ │ ├── CloudBasedMapStylingActivity.kt │ │ │ │ ├── EventsActivity.kt │ │ │ │ ├── GroundOverlays.kt │ │ │ │ ├── InfoWindows.kt │ │ │ │ ├── LiteMode.kt │ │ │ │ ├── MapId.kt │ │ │ │ ├── MapRendererOptInApplication.kt │ │ │ │ ├── MapsActivity.kt │ │ │ │ ├── MapsObject.kt │ │ │ │ ├── Markers.kt │ │ │ │ ├── MyLocationLayerActivity.kt │ │ │ │ ├── OnPoiClickDemoActivity.kt │ │ │ │ ├── PolylineCustomizationActivity.kt │ │ │ │ ├── Shapes.kt │ │ │ │ ├── StreetViewActivity.kt │ │ │ │ └── TileOverlays.kt │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable-xhdpi │ │ │ ├── harbour_bridge.jpg │ │ │ └── newark_nj_1922.png │ │ │ ├── drawable │ │ │ ├── arrow.xml │ │ │ ├── ic_launcher_background.xml │ │ │ └── walking_dot.xml │ │ │ ├── layout │ │ │ ├── activity_events.xml │ │ │ ├── activity_maps.xml │ │ │ ├── activity_markers.xml │ │ │ ├── activity_my_location.xml │ │ │ ├── activity_street_view.xml │ │ │ ├── main.xml │ │ │ └── poi_click_demo.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── v3 │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── google │ │ │ └── maps │ │ │ └── example │ │ │ ├── CloudBasedMapStylingActivity.java │ │ │ ├── POIBehaviorActivity.java │ │ │ ├── PolylineCustomizationActivity.java │ │ │ └── kotlin │ │ │ ├── CloudBasedMapStylingActivity.kt │ │ │ ├── POIBehaviorActivity.kt │ │ │ └── PolylineCustomizationActivity.kt │ │ └── res │ │ └── values │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle.kts ├── gradle.properties ├── gradle │ ├── libs.versions.toml │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── local.defaults.properties └── settings.gradle.kts └── tutorials ├── java ├── CurrentPlaceDetailsOnMap │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── currentplacedetailsonmap │ │ │ │ └── MapsActivityCurrentPlace.java │ │ │ └── res │ │ │ ├── layout │ │ │ ├── activity_maps.xml │ │ │ └── custom_info_contents.xml │ │ │ ├── menu │ │ │ └── current_place_menu.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle.kts │ ├── gradle.properties │ ├── gradle │ │ ├── libs.versions.toml │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── local.defaults.properties │ └── settings.gradle.kts ├── MapWithMarker │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── mapwithmarker │ │ │ │ └── MapsMarkerActivity.java │ │ │ └── res │ │ │ ├── layout │ │ │ └── activity_maps.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle.kts │ ├── gradle.properties │ ├── gradle │ │ ├── libs.versions.toml │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── local.defaults.properties │ └── settings.gradle.kts ├── Polygons │ ├── .gitignore │ ├── README.md │ ├── app │ │ ├── .gitignore │ │ ├── build.gradle.kts │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── polygons │ │ │ │ └── PolyActivity.java │ │ │ └── res │ │ │ ├── drawable-nodpi │ │ │ └── ic_arrow.png │ │ │ ├── layout │ │ │ └── activity_maps.xml │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle.kts │ ├── gradle.properties │ ├── gradle │ │ ├── libs.versions.toml │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── local.defaults.properties │ └── settings.gradle.kts └── StyledMap │ ├── .gitignore │ ├── README.md │ ├── app │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── styledmap │ │ │ └── MapsActivityRaw.java │ │ └── res │ │ ├── layout │ │ └── activity_maps_raw.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ ├── raw │ │ └── style_json.json │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ ├── build.gradle.kts │ ├── gradle.properties │ ├── gradle │ ├── libs.versions.toml │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── local.defaults.properties │ └── settings.gradle.kts └── kotlin ├── CurrentPlaceDetailsOnMap ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── currentplacedetailsonmap │ │ │ └── MapsActivityCurrentPlace.kt │ │ └── res │ │ ├── layout │ │ ├── activity_maps.xml │ │ └── custom_info_contents.xml │ │ ├── menu │ │ └── current_place_menu.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle.kts ├── gradle.properties ├── gradle │ ├── libs.versions.toml │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── local.defaults.properties └── settings.gradle.kts ├── MapWithMarker ├── .gitignore ├── README.md ├── app │ ├── .gitignore │ ├── build.gradle.kts │ ├── proguard-rules.pro │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── mapwithmarker │ │ │ └── MapsMarkerActivity.kt │ │ └── res │ │ ├── layout │ │ └── activity_maps.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml ├── build.gradle.kts ├── gradle.properties ├── gradle │ ├── libs.versions.toml │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── local.defaults.properties └── settings.gradle.kts └── Polygons ├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle.kts ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── java │ └── com │ │ └── example │ │ └── polygons │ │ └── PolyActivity.kt │ └── res │ ├── drawable-nodpi │ └── ic_arrow.png │ ├── layout │ └── activity_maps.xml │ ├── mipmap-hdpi │ └── ic_launcher.png │ ├── mipmap-mdpi │ └── ic_launcher.png │ ├── mipmap-xhdpi │ └── ic_launcher.png │ ├── mipmap-xxhdpi │ └── ic_launcher.png │ ├── mipmap-xxxhdpi │ └── ic_launcher.png │ └── values │ ├── colors.xml │ ├── strings.xml │ └── styles.xml ├── build.gradle.kts ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── local.defaults.properties ├── settings.gradle └── settings.gradle.kts /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Copyright 2020 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners 16 | 17 | .github/ @googlemaps/admin 18 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/support_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Support request 3 | about: If you have a support contract with Google, please create an issue in the Google 4 | Cloud Support console. 5 | title: '' 6 | labels: 'triage me, type: question' 7 | assignees: '' 8 | 9 | --- 10 | 11 | **PLEASE READ** 12 | 13 | If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/). This will ensure a timely response. 14 | 15 | Discover additional support services for the Google Maps Platform, including developer communities, technical guidance, and expert support at the Google Maps Platform [support resources page](https://developers.google.com/maps/support/). 16 | 17 | If your bug or feature request is not related to this particular library, please visit the Google Maps Platform [issue trackers](https://developers.google.com/maps/support/#issue_tracker). 18 | 19 | Check for answers on StackOverflow with the [google-maps](http://stackoverflow.com/questions/tagged/google-maps) tag. 20 | 21 | --- 22 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE/pull_request_template.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Pull request 3 | about: Create a pull request 4 | label: 'triage me' 5 | --- 6 | Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: 7 | - [ ] Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea 8 | - [ ] Ensure the tests and linter pass 9 | - [ ] Code coverage does not decrease (if any source code was changed) 10 | - [ ] Appropriate docs were updated (if necessary) 11 | 12 | Fixes #<issue_number_goes_here> 🦕 13 | -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | Thank you for opening a Pull Request! 2 | 3 | --- 4 | 5 | Before submitting your PR, there are a few things you can do to make sure it goes smoothly: 6 | - [ ] Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea 7 | - [ ] Ensure the tests and linter pass 8 | - [ ] Code coverage does not decrease (if any source code was changed) 9 | - [ ] Appropriate docs were updated (if necessary) 10 | 11 | Fixes #<issue_number_goes_here> 🦕 12 | -------------------------------------------------------------------------------- /.github/snippet-bot.yml: -------------------------------------------------------------------------------- 1 | # Copyright 2023 Google LLC 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | .idea 3 | .gradle 4 | *.iml 5 | local.properties 6 | secrets.properties 7 | .DS_Store 8 | .java-version 9 | -------------------------------------------------------------------------------- /.releaserc: -------------------------------------------------------------------------------- 1 | branches: 2 | - main 3 | plugins: 4 | - "@semantic-release/commit-analyzer" 5 | - "@semantic-release/release-notes-generator" 6 | - - "@google/semantic-release-replace-plugin" 7 | - replacements: 8 | - files: 9 | - "./ApiDemos/project/java-app/build.gradle.kts" 10 | - "./ApiDemos/project/kotlin-app/build.gradle.kts" 11 | from: "versionName = \".*\"" 12 | to: "versionName = \"${nextRelease.version}\"" 13 | - - "@semantic-release/git" 14 | - assets: 15 | - "./ApiDemos/project/java-app/build.gradle.kts" 16 | - "./ApiDemos/project/kotlin-app/build.gradle.kts" 17 | - - "@semantic-release/github" 18 | - assets: 19 | - "./ApiDemos-java-debug.apk" 20 | - "./ApiDemos-kotlin-debug.apk" 21 | options: 22 | debug: true 23 | -------------------------------------------------------------------------------- /ApiDemos/V3_FILE_HEADER: -------------------------------------------------------------------------------- 1 | /** 2 | * DO NOT EDIT THIS FILE. 3 | * 4 | * This source code was autogenerated from source code within the `app/src/gms` directory 5 | * and is not intended for modifications. If any edits should be made, please do so in the 6 | * corresponding file under the `app/src/gms` directory. 7 | */ 8 | -------------------------------------------------------------------------------- /ApiDemos/project/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | secure.properties 8 | -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/consumer-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/consumer-rules.pro -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <manifest> 19 | 20 | </manifest> -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/arrow.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_nsw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_nsw.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_nt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_nt.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_qld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_qld.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_sa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_sa.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_victoria.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_victoria.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_wa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/badge_wa.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/custom_info_bubble.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/custom_info_bubble.9.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-hdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-hdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-mdpi/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-mdpi/arrow.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-mdpi/custom_info_bubble.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-mdpi/custom_info_bubble.9.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-mdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-mdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-nodpi/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-nodpi/chevron.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-nodpi/ook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-nodpi/ook.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-xhdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-xhdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable-xxhdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable-xxhdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable/baseline_arrow_drop_down_24.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2025 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="24" android:viewportWidth="24" android:width="24dp"> 18 | 19 | <path android:fillColor="@android:color/white" android:pathData="M7,10l5,5 5,-5z"/> 20 | 21 | </vector> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable/chevron.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable/harbour_bridge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable/harbour_bridge.jpg -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable/newark_nj_1922.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable/newark_nj_1922.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/drawable/newark_prudential_sunny.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/drawable/newark_prudential_sunny.jpg -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/layout/legal_info.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:layout_width="match_parent" 19 | android:layout_height="match_parent"> 20 | 21 | <TextView 22 | android:id="@+id/legal_info" 23 | android:layout_width="match_parent" 24 | android:layout_height="match_parent" /> 25 | </ScrollView> 26 | -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/layout/raw_mapview_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --><!-- This can go anywhere in your layout. --> 17 | 18 | <com.google.android.gms.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android" 19 | android:id="@+id/map" 20 | android:layout_width="match_parent" 21 | android:layout_height="match_parent" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/layout/street_view_panorama_view_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --><!-- This can go anywhere in your layout. --> 17 | <com.google.android.gms.maps.StreetViewPanoramaView xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/streetviewpanorama" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" /> 21 | -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/layout/text_fragment.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <TextView xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:layout_width="match_parent" 19 | android:layout_height="match_parent" 20 | android:gravity="center" 21 | android:text="@string/swipe" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/layout/tile_coordinate_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/map" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" 21 | class="com.google.android.gms.maps.SupportMapFragment" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/menu/styled_map.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2018 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | https://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <menu xmlns:android="http://schemas.android.com/apk/res/android" 18 | xmlns:app="http://schemas.android.com/apk/res-auto"> 19 | <item 20 | android:id="@+id/menu_style_choose" 21 | android:title="@string/style_choose" 22 | app:showAsAction="always"/> 23 | </menu> -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/common-ui/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/common-ui/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | <color name="white">#D0FFFFFF</color> 23 | </resources> 24 | -------------------------------------------------------------------------------- /ApiDemos/project/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | android.enableJetifier=true 20 | android.useAndroidX=true 21 | -------------------------------------------------------------------------------- /ApiDemos/project/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ApiDemos/project/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/basic_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --><!-- This can go anywhere in your layout (see other demos for some examples). --> 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/map" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" 21 | class="com.google.android.libraries.maps.SupportMapFragment" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/legal_info.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:layout_width="match_parent" 19 | android:layout_height="match_parent"> 20 | 21 | <TextView 22 | android:id="@+id/legal_info" 23 | android:layout_width="match_parent" 24 | android:layout_height="match_parent" /> 25 | </ScrollView> 26 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/lite_list_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2018 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | https://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <androidx.recyclerview.widget.RecyclerView 18 | xmlns:android="http://schemas.android.com/apk/res/android" 19 | android:id="@+id/recycler_view" 20 | android:scrollbars="vertical" 21 | android:layout_width="match_parent" 22 | android:layout_height="match_parent" /> 23 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/map_in_pager_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <androidx.viewpager.widget.ViewPager xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/pager" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent"></androidx.viewpager.widget.ViewPager> 21 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/marker_collision_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/map" 19 | class="com.google.android.libraries.maps.SupportMapFragment" 20 | android:layout_width="match_parent" 21 | android:layout_height="match_parent" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/raw_mapview_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --><!-- This can go anywhere in your layout. --> 17 | <com.google.android.libraries.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/map" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" /> 21 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/street_view_panorama_view_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --><!-- This can go anywhere in your layout. --> 17 | <com.google.android.libraries.maps.StreetViewPanoramaView xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/streetviewpanorama" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" /> 21 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/styled_map_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --><!-- This can go anywhere in your layout (see other demos for some examples). --> 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/map" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" 21 | class="com.google.android.libraries.maps.SupportMapFragment" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/text_fragment.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <TextView xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:layout_width="match_parent" 19 | android:layout_height="match_parent" 20 | android:gravity="center" 21 | android:text="@string/swipe" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/java-app/src/v3/res/layout/tile_coordinate_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2025 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:id="@+id/map" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" 21 | class="com.google.android.libraries.maps.SupportMapFragment" /> 22 | -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/drawable-hdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/drawable-hdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/drawable-mdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/drawable-mdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/drawable-nodpi/chevron.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/drawable-nodpi/chevron.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/drawable-nodpi/ook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/drawable-nodpi/ook.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/drawable-xhdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/drawable-xhdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/drawable-xxhdpi/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/drawable-xxhdpi/pegman.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/menu/styled_map.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <menu xmlns:android="http://schemas.android.com/apk/res/android" 19 | xmlns:app="http://schemas.android.com/apk/res-auto"> 20 | <item 21 | android:id="@+id/menu_style_choose" 22 | android:title="@string/style_choose" 23 | app:showAsAction="always"/> 24 | </menu> -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | </adaptive-icon> -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | </adaptive-icon> -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/ApiDemos/project/kotlin-app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | <color name="white">#D0FFFFFF</color> 23 | 24 | <color name="darkRedBrown">#8B2323</color> 25 | </resources> 26 | -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?><!-- 2 | Copyright 2025 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | https://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | <resources xmlns:tools="http://schemas.android.com/tools"> 17 | <string name="app_name">Maps SDK for Android Demos (Kotlin)</string> 18 | 19 | </resources> -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/v3/java/com/example/kotlindemos/polyline/PolylineControlFragment.kt: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2020 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.example.kotlindemos.polyline 17 | 18 | import androidx.fragment.app.Fragment 19 | import com.google.android.libraries.maps.model.Polyline 20 | 21 | abstract class PolylineControlFragment : Fragment() { 22 | var polyline: Polyline? = null 23 | set(value) { 24 | field = value 25 | refresh() 26 | } 27 | 28 | abstract fun refresh() 29 | } -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/v3/res/layout/activity_lite_list_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2018 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | https://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | <androidx.recyclerview.widget.RecyclerView 18 | android:id="@+id/recycler_view" 19 | android:scrollbars="vertical" 20 | android:layout_width="match_parent" 21 | android:layout_height="match_parent" 22 | xmlns:android="http://schemas.android.com/apk/res/android" /> 23 | -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/v3/res/layout/marker_collision_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?><!-- 2 | Copyright 2025 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | https://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 17 | android:id="@+id/map" 18 | class="com.google.android.libraries.maps.SupportMapFragment" 19 | android:layout_width="match_parent" 20 | android:layout_height="match_parent" /> 21 | -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/v3/res/layout/raw_mapview_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?><!-- 2 | Copyright 2025 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | https://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --><!-- This can go anywhere in your layout. --> 16 | <com.google.android.libraries.maps.MapView xmlns:android="http://schemas.android.com/apk/res/android" 17 | android:id="@+id/map" 18 | android:layout_width="match_parent" 19 | android:layout_height="match_parent" /> 20 | -------------------------------------------------------------------------------- /ApiDemos/project/kotlin-app/src/v3/res/layout/tile_coordinate_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?><!-- 2 | Copyright 2025 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | https://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 17 | android:id="@+id/map" 18 | android:layout_width="match_parent" 19 | android:layout_height="match_parent" 20 | class="com.google.android.libraries.maps.SupportMapFragment" /> 21 | -------------------------------------------------------------------------------- /ApiDemos/project/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | BOULDER_DATASET_ID=BOULDER_DATASET_ID 3 | NEW_YORK_DATASET_ID=NEW_YORK_DATASET_ID 4 | KYOTO_DATASET_ID=KYOTO_DATASET_ID 5 | MAP_ID=MAP_ID 6 | -------------------------------------------------------------------------------- /ApiDemos/project/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2025 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include(":java-app") 18 | include(":kotlin-app") 19 | include(":common-ui") 20 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to become a contributor and submit your own code 2 | 3 | ## Contributor License Agreements 4 | 5 | We'd love to accept your sample apps and patches! Before we can take them, we 6 | have to jump a couple of legal hurdles. 7 | 8 | Please fill out either the individual or corporate Contributor License Agreement 9 | (CLA). 10 | 11 | * If you are an individual writing original source code and you're sure you 12 | own the intellectual property, then you'll need to sign an [individual CLA] 13 | (http://code.google.com/legal/individual-cla-v1.0.html). 14 | * If you work for a company that wants to allow you to contribute your work, 15 | then you'll need to sign a [corporate CLA] 16 | (http://code.google.com/legal/corporate-cla-v1.0.html). 17 | 18 | Follow either of the two links above to access the appropriate CLA and 19 | instructions for how to sign and return it. Once we receive it, we'll be able to 20 | accept your pull requests. 21 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Report a security issue 2 | 3 | To report a security issue, please use https://g.co/vulnz. We use 4 | https://g.co/vulnz for our intake, and do coordination and disclosure here on 5 | GitHub (including using GitHub Security Advisory). The Google Security Team will 6 | respond within 5 working days of your report on g.co/vulnz. 7 | 8 | To contact us about other bugs, please open an issue on GitHub. 9 | 10 | > **Note**: This file is synchronized from the https://github.com/googlemaps/.github repository. 11 | -------------------------------------------------------------------------------- /WearOS/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | -------------------------------------------------------------------------------- /WearOS/Wearable/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /WearOS/Wearable/libs/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore all files in this directory, except .gitignore to include this directory 2 | * 3 | !.gitignore -------------------------------------------------------------------------------- /WearOS/Wearable/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/jfschmakeit/bin/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /WearOS/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/WearOS/Wearable/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /WearOS/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/WearOS/Wearable/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /WearOS/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/WearOS/Wearable/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /WearOS/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/WearOS/Wearable/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /WearOS/Wearable/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright (C) 2015 Google Inc. All Rights Reserved. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | 20 | <string name="app_name">Wear OS Map</string> 21 | <string name="intro_text">Long click to exit the map.</string> 22 | 23 | </resources> 24 | -------------------------------------------------------------------------------- /WearOS/build.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | plugins { 18 | id("com.android.application") version "8.8.0" apply false 19 | id("com.google.android.libraries.mapsplatform.secrets-gradle-plugin") version "2.0.1" apply false 20 | id("org.jetbrains.kotlin.android") version "2.1.0" apply false 21 | } 22 | -------------------------------------------------------------------------------- /WearOS/gradle/libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/WearOS/gradle/libs.versions.toml -------------------------------------------------------------------------------- /WearOS/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/WearOS/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /WearOS/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 10 22:24:53 CEST 2024 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /WearOS/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | -------------------------------------------------------------------------------- /WearOS/screenshots/big_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/WearOS/screenshots/big_icon.png -------------------------------------------------------------------------------- /WearOS/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | pluginManagement { 18 | repositories { 19 | gradlePluginPortal() 20 | google() 21 | mavenCentral() 22 | } 23 | } 24 | 25 | dependencyResolutionManagement { 26 | repositories 27 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) 28 | repositories { 29 | google() 30 | mavenCentral() 31 | } 32 | } 33 | 34 | include(":Wearable") 35 | -------------------------------------------------------------------------------- /hooks/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## This hook provides an example that prevents the API Key from being committed. 4 | ## The file can be adapted to your needs, but ultimately this hook will reject the commit if the MAPS_API_KEY 5 | ## has been modified. Git Hooks are located in the folder .git/hooks 6 | 7 | FILE="local.defaults.properties" 8 | API_KEY_REGEX="AIza[0-9A-Za-z\-_]{35}" 9 | 10 | if grep -qE "^MAPS_API_KEY=$API_KEY_REGEX" "$FILE"; then 11 | echo "Error: Commit rejected. Invalid content in $FILE." 12 | exit 1 13 | fi 14 | 15 | exit 0 -------------------------------------------------------------------------------- /images/screenshots.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/images/screenshots.png -------------------------------------------------------------------------------- /open-in-idx-template/devNix.j2: -------------------------------------------------------------------------------- 1 | # To learn more about how to use Nix to configure your environment 2 | # see: https://developers.google.com/idx/guides/customize-idx-env 3 | { pkgs, ... }: { 4 | # Which nixpkgs channel to use. 5 | channel = "stable-23.11"; # or "unstable" 6 | # Use https://search.nixos.org/packages to find packages 7 | packages = [ 8 | pkgs.jdk21 9 | ]; 10 | # Sets environment variables in the workspace 11 | env = {}; 12 | idx = { 13 | workspace = { 14 | onCreate = { 15 | build-and-wait = "./gradlew assembleDebug && adb -s localhost:5555 wait-for-device"; 16 | default.openFiles = [ "README.md" ]; 17 | }; 18 | onStart = { 19 | wait-for-adb = "adb -s localhost:5555 wait-for-device"; 20 | }; 21 | }; 22 | previews = { 23 | enable = true; 24 | previews = [ 25 | { 26 | command = ["./gradlew" "--continuous" "installDebug"]; 27 | id = "android"; 28 | manager = "gradle"; 29 | activity = "{{ launch_activity }}"; 30 | } 31 | ]; 32 | }; 33 | }; 34 | } -------------------------------------------------------------------------------- /snippets/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | -------------------------------------------------------------------------------- /snippets/app-compose/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /snippets/app-compose/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-compose/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="purple_200">#FFBB86FC</color> 20 | <color name="purple_500">#FF6200EE</color> 21 | <color name="purple_700">#FF3700B3</color> 22 | <color name="teal_200">#FF03DAC5</color> 23 | <color name="teal_700">#FF018786</color> 24 | <color name="black">#FF000000</color> 25 | <color name="white">#FFFFFFFF</color> 26 | </resources> -------------------------------------------------------------------------------- /snippets/app-compose/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2023 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">app-compose</string> 19 | </resources> -------------------------------------------------------------------------------- /snippets/app-ktx/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /snippets/app-ktx/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 19 | xmlns:tools="http://schemas.android.com/tools" 20 | android:id="@+id/map" 21 | android:name="com.google.android.gms.maps.SupportMapFragment" 22 | android:layout_width="match_parent" 23 | android:layout_height="match_parent" 24 | tools:context=".KTX" /> 25 | -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="purple_200">#FFBB86FC</color> 20 | <color name="purple_500">#FF6200EE</color> 21 | <color name="purple_700">#FF3700B3</color> 22 | <color name="teal_200">#FF03DAC5</color> 23 | <color name="teal_700">#FF018786</color> 24 | <color name="black">#FF000000</color> 25 | <color name="white">#FFFFFFFF</color> 26 | </resources> -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2023 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">app-ktx</string> 19 | </resources> -------------------------------------------------------------------------------- /snippets/app-ktx/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | 20 | <style name="Theme.SnippetsApp" parent="android:Theme.Material.Light.NoActionBar" /> 21 | </resources> -------------------------------------------------------------------------------- /snippets/app-places-ktx/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /snippets/app-places-ktx/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-places-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="purple_200">#FFBB86FC</color> 20 | <color name="purple_500">#FF6200EE</color> 21 | <color name="purple_700">#FF3700B3</color> 22 | <color name="teal_200">#FF03DAC5</color> 23 | <color name="teal_700">#FF018786</color> 24 | <color name="black">#FF000000</color> 25 | <color name="white">#FFFFFFFF</color> 26 | </resources> -------------------------------------------------------------------------------- /snippets/app-places-ktx/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2023 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">app-places-ktx</string> 19 | </resources> -------------------------------------------------------------------------------- /snippets/app-rx/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /snippets/app-rx/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-rx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="purple_200">#FFBB86FC</color> 20 | <color name="purple_500">#FF6200EE</color> 21 | <color name="purple_700">#FF3700B3</color> 22 | <color name="teal_200">#FF03DAC5</color> 23 | <color name="teal_700">#FF018786</color> 24 | <color name="black">#FF000000</color> 25 | <color name="white">#FFFFFFFF</color> 26 | </resources> -------------------------------------------------------------------------------- /snippets/app-rx/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2023 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">app-rx</string> 19 | </resources> -------------------------------------------------------------------------------- /snippets/app-utils-ktx/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /snippets/app-utils-ktx/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils-ktx/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2023 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">app-utils-ktx</string> 19 | </resources> -------------------------------------------------------------------------------- /snippets/app-utils-ktx/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <!-- Base application theme. --> 19 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 20 | <!-- Customize your theme here. --> 21 | <item name="colorPrimary">@color/colorPrimary</item> 22 | <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 23 | <item name="colorAccent">@color/colorAccent</item> 24 | </style> 25 | 26 | </resources> -------------------------------------------------------------------------------- /snippets/app-utils/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /snippets/app-utils/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | <monochrome android:drawable="@drawable/ic_launcher_foreground" /> 22 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-hdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-hdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-hdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-hdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-mdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-mdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-mdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-mdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-xhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-xhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-xhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-xhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-xxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-xxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-xxxhdpi/ic_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-xxxhdpi/ic_launcher.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app-utils/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2023 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="purple_200">#FFBB86FC</color> 20 | <color name="purple_500">#FF6200EE</color> 21 | <color name="purple_700">#FF3700B3</color> 22 | <color name="teal_200">#FF03DAC5</color> 23 | <color name="teal_700">#FF018786</color> 24 | <color name="black">#FF000000</color> 25 | <color name="white">#FFFFFFFF</color> 26 | </resources> -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2023 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">app-utils</string> 19 | </resources> -------------------------------------------------------------------------------- /snippets/app-utils/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <!-- Base application theme. --> 19 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 20 | <!-- Customize your theme here. 21 | <item name="colorPrimary">@color/colorPrimary</item> 22 | <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 23 | <item name="colorAccent">@color/colorAccent</item> --> 24 | </style> 25 | 26 | </resources> -------------------------------------------------------------------------------- /snippets/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /snippets/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile -------------------------------------------------------------------------------- /snippets/app/src/main/java/com/google/maps/example/LiteMode.java: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.maps.example; 16 | 17 | import com.google.android.gms.maps.GoogleMapOptions; 18 | 19 | class LiteMode { 20 | private void liteMode() { 21 | // [START maps_android_lite_mode_options] 22 | GoogleMapOptions options = new GoogleMapOptions() 23 | .liteMode(true); 24 | // [END maps_android_lite_mode_options] 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /snippets/app/src/main/java/com/google/maps/example/kotlin/LiteMode.kt: -------------------------------------------------------------------------------- 1 | // Copyright 2020 Google LLC 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | package com.google.maps.example.kotlin 16 | 17 | import com.google.android.gms.maps.GoogleMapOptions 18 | 19 | private fun liteMode() { 20 | // [START maps_android_lite_mode_options] 21 | val options = GoogleMapOptions() 22 | .liteMode(true) 23 | // [END maps_android_lite_mode_options] 24 | } 25 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/drawable-xhdpi/harbour_bridge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/drawable-xhdpi/harbour_bridge.jpg -------------------------------------------------------------------------------- /snippets/app/src/main/res/drawable-xhdpi/newark_nj_1922.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/drawable-xhdpi/newark_nj_1922.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/drawable/arrow.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <vector xmlns:android="http://schemas.android.com/apk/res/android" 18 | android:width="24dp" 19 | android:height="24dp" 20 | android:viewportWidth="24" 21 | android:viewportHeight="24" 22 | android:tint="?attr/colorControlNormal"> 23 | <path 24 | android:fillColor="@android:color/white" 25 | android:pathData="M7,10l5,5 5,-5z"/> 26 | </vector> 27 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 19 | xmlns:tools="http://schemas.android.com/tools" 20 | android:id="@+id/map" 21 | android:name="com.google.android.gms.maps.SupportMapFragment" 22 | android:layout_width="match_parent" 23 | android:layout_height="match_parent" 24 | tools:context=".MapsActivity" /> 25 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/layout/activity_markers.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 19 | xmlns:tools="http://schemas.android.com/tools" 20 | android:id="@+id/map" 21 | android:name="com.google.android.gms.maps.SupportMapFragment" 22 | android:layout_width="match_parent" 23 | android:layout_height="match_parent" 24 | tools:context=".MapsActivity" /> 25 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/layout/activity_my_location.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 19 | xmlns:tools="http://schemas.android.com/tools" 20 | android:id="@+id/map" 21 | android:name="com.google.android.gms.maps.SupportMapFragment" 22 | android:layout_width="match_parent" 23 | android:layout_height="match_parent" 24 | tools:context=".MapsActivity" /> 25 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/layout/activity_street_view.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 19 | xmlns:tools="http://schemas.android.com/tools" 20 | android:id="@+id/street_view_panorama" 21 | android:name="com.google.android.gms.maps.SupportStreetViewPanoramaFragment" 22 | android:layout_width="match_parent" 23 | android:layout_height="match_parent" 24 | tools:context=".MapsActivity" /> 25 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 19 | android:id="@+id/my_container" 20 | android:layout_width="match_parent" 21 | android:layout_height="match_parent" /> 22 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/layout/poi_click_demo.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 19 | xmlns:tools="http://schemas.android.com/tools" 20 | android:id="@+id/map" 21 | android:name="com.google.android.gms.maps.SupportMapFragment" 22 | android:layout_width="match_parent" 23 | android:layout_height="match_parent" 24 | tools:context=".MapsActivity" /> 25 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> 19 | <background android:drawable="@drawable/ic_launcher_background" /> 20 | <foreground android:drawable="@drawable/ic_launcher_foreground" /> 21 | </adaptive-icon> -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /snippets/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#6200EE</color> 20 | <color name="colorPrimaryDark">#3700B3</color> 21 | <color name="colorAccent">#03DAC5</color> 22 | </resources> -------------------------------------------------------------------------------- /snippets/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2024 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">Snippets App</string> 19 | <string name="map_id">13564581852493597319</string> 20 | </resources> 21 | -------------------------------------------------------------------------------- /snippets/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <!-- Base application theme. --> 19 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 20 | <!-- Customize your theme here. --> 21 | <item name="colorPrimary">@color/colorPrimary</item> 22 | <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 23 | <item name="colorAccent">@color/colorAccent</item> 24 | </style> 25 | 26 | </resources> -------------------------------------------------------------------------------- /snippets/app/src/v3/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | </resources> -------------------------------------------------------------------------------- /snippets/app/src/v3/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="title_activity_polyline_customization">PolylineCustomizationActivity</string> 19 | <string name="map_id">13564581852493597319</string> 20 | </resources> -------------------------------------------------------------------------------- /snippets/app/src/v3/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <style name="AppTheme.NoActionBar" > 19 | <item name="windowActionBar">false</item> 20 | <item name="windowNoTitle">true</item> 21 | </style> 22 | <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" /> 23 | <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" /> 24 | </resources> -------------------------------------------------------------------------------- /snippets/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/snippets/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /snippets/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Jul 10 22:14:33 CEST 2024 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /snippets/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | xmlns:tools="http://schemas.android.com/tools" 19 | android:id="@+id/map" 20 | android:name="com.google.android.gms.maps.SupportMapFragment" 21 | android:layout_width="match_parent" 22 | android:layout_height="match_parent" 23 | tools:context="com.example.currentplacedetailsonmap.MapsActivityCurrentPlace" /> 24 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/menu/current_place_menu.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?><!-- 2 | Copyright (C) 2016 The Android Open Source Project 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | --> 13 | <menu xmlns:android="http://schemas.android.com/apk/res/android" 14 | xmlns:app="http://schemas.android.com/apk/res-auto"> 15 | <item 16 | android:id="@+id/option_get_place" 17 | android:title="@string/option_get_place" 18 | app:showAsAction="always"/> 19 | </menu> -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | </resources> 23 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | android.useAndroidX=true 19 | android.enableJetifier=true 20 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/CurrentPlaceDetailsOnMap/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | PLACES_API_KEY=DEFAULT_API_KEY 3 | -------------------------------------------------------------------------------- /tutorials/java/CurrentPlaceDetailsOnMap/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include(":app") 18 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | secure.properties -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/sarahmaddox/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | xmlns:tools="http://schemas.android.com/tools" 19 | android:id="@+id/map" 20 | android:name="com.google.android.gms.maps.SupportMapFragment" 21 | android:layout_width="match_parent" 22 | android:layout_height="match_parent" 23 | tools:context="com.example.mapwithmarker.MapsMarkerActivity" /> 24 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/MapWithMarker/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/MapWithMarker/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/MapWithMarker/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/MapWithMarker/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/MapWithMarker/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | </resources> 23 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">Map With Marker</string> 19 | <string name="title_activity_maps">Map with Marker</string> 20 | </resources> 21 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | 19 | android.useAndroidX=true 20 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/gradle/libs.versions.toml: -------------------------------------------------------------------------------- 1 | [versions] 2 | compileSdk = "36" 3 | minSdk = "21" 4 | targetSdk = "36" 5 | versionCode = "1" 6 | versionName = "1.0" 7 | playServicesMaps = "19.2.0" 8 | kotlinBom = "2.0.0" 9 | appcompat = "1.7.1" 10 | junit = "4.13.2" 11 | androidxTestExtJunit = "1.2.1" 12 | espressoCore = "3.6.1" 13 | agp = "8.10.1" 14 | 15 | [libraries] 16 | playServicesMaps = { group = "com.google.android.gms", name = "play-services-maps", version.ref = "playServicesMaps" } 17 | kotlinBom = { group = "org.jetbrains.kotlin", name = "kotlin-bom", version.ref = "kotlinBom" } 18 | appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } 19 | junit = { group = "junit", name = "junit", version.ref = "junit" } 20 | androidxTestExtJunit = { group = "androidx.test.ext", name = "junit", version.ref = "androidxTestExtJunit" } 21 | espressoCore = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } 22 | android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "agp" } -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/MapWithMarker/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/local.defaults.properties: -------------------------------------------------------------------------------- 1 | ## This file must *NOT* be checked into Version Control Systems, 2 | # as it contains information specific to your local configuration. 3 | # 4 | # Location of the SDK. This is only used by Gradle. 5 | # For customization when using a Version Control System, please read the 6 | # header note. 7 | #Mon Apr 06 10:50:09 PDT 2020 8 | MAPS_API_KEY=DEFAULT_API_KEY 9 | -------------------------------------------------------------------------------- /tutorials/java/MapWithMarker/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include(":app") 18 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | /play-services-maps-10.2.0 11 | /app/libs -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | secure.properties 3 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/sarahmaddox/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/drawable-nodpi/ic_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/Polygons/app/src/main/res/drawable-nodpi/ic_arrow.png -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | xmlns:tools="http://schemas.android.com/tools" 19 | android:id="@+id/map" 20 | android:name="com.google.android.gms.maps.SupportMapFragment" 21 | android:layout_width="match_parent" 22 | android:layout_height="match_parent" 23 | tools:context="com.example.polygons.PolyActivity" /> 24 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/Polygons/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/Polygons/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/Polygons/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/Polygons/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/Polygons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | </resources> 23 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">Polygons</string> 19 | <string name="title_activity_maps">Polygons</string> 20 | </resources> 21 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | 19 | <!-- Base application theme. --> 20 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 21 | <!-- Customize your theme here. --> 22 | <item name="colorPrimary">@color/colorPrimary</item> 23 | <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 24 | <item name="colorAccent">@color/colorAccent</item> 25 | </style> 26 | 27 | </resources> 28 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | 19 | android.useAndroidX=true 20 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/gradle/libs.versions.toml: -------------------------------------------------------------------------------- 1 | [versions] 2 | compileSdk = "36" 3 | minSdk = "21" 4 | targetSdk = "36" 5 | versionCode = "1" 6 | versionName = "1.0" 7 | appcompat = "1.7.1" 8 | playServicesMaps = "19.2.0" 9 | kotlinBom = "2.2.0" 10 | junit = "4.13.2" 11 | androidxTestExtJunit = "1.2.1" 12 | espressoCore = "3.6.1" 13 | agp = "8.10.1" 14 | 15 | [libraries] 16 | appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" } 17 | playServicesMaps = { group = "com.google.android.gms", name = "play-services-maps", version.ref = "playServicesMaps" } 18 | kotlinBom = { group = "org.jetbrains.kotlin", name = "kotlin-bom", version.ref = "kotlinBom" } 19 | junit = { group = "junit", name = "junit", version.ref = "junit" } 20 | androidxTestExtJunit = { group = "androidx.test.ext", name = "junit", version.ref = "androidxTestExtJunit" } 21 | espressoCore = { group = "androidx.test.espresso", name = "espresso-core", version.ref = "espressoCore" } 22 | android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "agp" } -------------------------------------------------------------------------------- /tutorials/java/Polygons/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/Polygons/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /tutorials/java/Polygons/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | -------------------------------------------------------------------------------- /tutorials/java/Polygons/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include (":app") 18 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/sarahmaddox/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/StyledMap/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/StyledMap/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/StyledMap/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/StyledMap/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/StyledMap/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | </resources> 23 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">Styled Map</string> 19 | <string name="title_activity_maps">Styled Map</string> 20 | </resources> -------------------------------------------------------------------------------- /tutorials/java/StyledMap/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | 19 | <!-- Base application theme. --> 20 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 21 | <!-- Customize your theme here. --> 22 | <item name="colorPrimary">@color/colorPrimary</item> 23 | <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 24 | <item name="colorAccent">@color/colorAccent</item> 25 | </style> 26 | 27 | </resources> 28 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | 19 | android.useAndroidX=true 20 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/java/StyledMap/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /tutorials/java/StyledMap/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | -------------------------------------------------------------------------------- /tutorials/java/StyledMap/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include (":app") 18 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | xmlns:tools="http://schemas.android.com/tools" 19 | android:id="@+id/map" 20 | android:name="com.google.android.gms.maps.SupportMapFragment" 21 | android:layout_width="match_parent" 22 | android:layout_height="match_parent" 23 | tools:context="com.example.currentplacedetailsonmap.MapsActivityCurrentPlace" /> 24 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/menu/current_place_menu.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?><!-- 2 | Copyright (C) 2016 The Android Open Source Project 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | Unless required by applicable law or agreed to in writing, software 8 | distributed under the License is distributed on an "AS IS" BASIS, 9 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 10 | See the License for the specific language governing permissions and 11 | limitations under the License. 12 | --> 13 | <menu xmlns:android="http://schemas.android.com/apk/res/android" 14 | xmlns:app="http://schemas.android.com/apk/res-auto"> 15 | <item 16 | android:id="@+id/option_get_place" 17 | android:title="@string/option_get_place" 18 | app:showAsAction="always"/> 19 | </menu> -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | </resources> 23 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | android.useAndroidX=true 19 | android.enableJetifier=true 20 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/CurrentPlaceDetailsOnMap/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | -------------------------------------------------------------------------------- /tutorials/kotlin/CurrentPlaceDetailsOnMap/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include(":app") -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | secure.properties 3 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/sarahmaddox/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | xmlns:tools="http://schemas.android.com/tools" 19 | android:id="@+id/map" 20 | android:name="com.google.android.gms.maps.SupportMapFragment" 21 | android:layout_width="match_parent" 22 | android:layout_height="match_parent" 23 | tools:context="com.example.mapwithmarker.MapsMarkerActivity" /> 24 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/MapWithMarker/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | </resources> 23 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">Map With Marker</string> 19 | <string name="title_activity_maps">Map with Marker</string> 20 | </resources> 21 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | 19 | android.useAndroidX=true 20 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/MapWithMarker/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 24 14:55:12 CEST 2025 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 5 | networkTimeout=10000 6 | validateDistributionUrl=true 7 | zipStoreBase=GRADLE_USER_HOME 8 | zipStorePath=wrapper/dists 9 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | -------------------------------------------------------------------------------- /tutorials/kotlin/MapWithMarker/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include (":app") 18 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | /play-services-maps-10.2.0 11 | /app/libs -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | secure.properties 3 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/sarahmaddox/Library/Android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/drawable-nodpi/ic_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/Polygons/app/src/main/res/drawable-nodpi/ic_arrow.png -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/layout/activity_maps.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <fragment xmlns:android="http://schemas.android.com/apk/res/android" 18 | xmlns:tools="http://schemas.android.com/tools" 19 | android:id="@+id/map" 20 | android:name="com.google.android.gms.maps.SupportMapFragment" 21 | android:layout_width="match_parent" 22 | android:layout_height="match_parent" 23 | tools:context="com.example.polygons.PolyActivity" /> 24 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/Polygons/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/Polygons/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/Polygons/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/Polygons/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/Polygons/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="utf-8"?> 2 | <!-- 3 | Copyright 2020 Google LLC 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License"); 6 | you may not use this file except in compliance with the License. 7 | You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software 12 | distributed under the License is distributed on an "AS IS" BASIS, 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | See the License for the specific language governing permissions and 15 | limitations under the License. 16 | --> 17 | 18 | <resources> 19 | <color name="colorPrimary">#3F51B5</color> 20 | <color name="colorPrimaryDark">#303F9F</color> 21 | <color name="colorAccent">#FF4081</color> 22 | </resources> 23 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | <string name="app_name">Polygons</string> 19 | <string name="title_activity_maps">Polygons</string> 20 | </resources> 21 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | <!-- 2 | Copyright 2020 Google LLC 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | --> 16 | 17 | <resources> 18 | 19 | <!-- Base application theme. --> 20 | <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> 21 | <!-- Customize your theme here. --> 22 | <item name="colorPrimary">@color/colorPrimary</item> 23 | <item name="colorPrimaryDark">@color/colorPrimaryDark</item> 24 | <item name="colorAccent">@color/colorAccent</item> 25 | </style> 26 | 27 | </resources> 28 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | 19 | android.useAndroidX=true 20 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/googlemaps-samples/android-samples/6f7e4807c5276bfbf0db895b924c5fc2532b29ff/tutorials/kotlin/Polygons/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/local.defaults.properties: -------------------------------------------------------------------------------- 1 | MAPS_API_KEY=DEFAULT_API_KEY 2 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /tutorials/kotlin/Polygons/settings.gradle.kts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2024 Google LLC 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | include (":app") 18 | --------------------------------------------------------------------------------