├── settings.gradle ├── images ├── 3D Building.jpg ├── Satellite View.jpg └── Map and StreetView.jpg ├── app ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── city.bmp │ │ │ │ ├── adelaide.png │ │ │ │ ├── brisbane.png │ │ │ │ ├── custom_window.png │ │ │ │ ├── ic_person_pin_circle_black_24dp.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── drawable-v24 │ │ │ │ ├── pegman.png │ │ │ │ └── ic_launcher_foreground.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 │ │ │ │ ├── styles.xml │ │ │ │ ├── strings.xml │ │ │ │ └── arrays.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── raw │ │ │ │ ├── mapstyle_transit.json │ │ │ │ ├── mapstyle_grayscale.json │ │ │ │ ├── mapstyle_night.json │ │ │ │ └── mapstyle_retro.json │ │ │ └── layout │ │ │ │ ├── activity_map_basic.xml │ │ │ │ ├── activity_map_settings.xml │ │ │ │ ├── activity_location_source.xml │ │ │ │ ├── activity_map_camera_events.xml │ │ │ │ ├── activity_street_view_basic.xml │ │ │ │ ├── activity_street_view_settings.xml │ │ │ │ ├── activity_street_view_events.xml │ │ │ │ ├── activity_my_location.xml │ │ │ │ ├── activity_street_view_and_map.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── custom_info_window.xml │ │ │ │ ├── activity_snapshot.xml │ │ │ │ ├── custom_info_contents.xml │ │ │ │ ├── activity_map_type_and_style.xml │ │ │ │ ├── activity_marker.xml │ │ │ │ ├── activity_shape.xml │ │ │ │ ├── activity_street_view_navigation.xml │ │ │ │ └── activity_map_navigation.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── next │ │ │ │ └── googlemapapi │ │ │ │ ├── streetview │ │ │ │ ├── StreetViewBasicActivity.java │ │ │ │ ├── StreetViewSettingsActivity.java │ │ │ │ ├── StreetViewAndMapActivity.java │ │ │ │ ├── StreetViewEventsActivity.java │ │ │ │ └── StreetViewNavigationActivity.java │ │ │ │ ├── map │ │ │ │ ├── MapBasicActivity.java │ │ │ │ ├── SnapshotActivity.java │ │ │ │ ├── MapTypeAndStyleActivity.java │ │ │ │ ├── MapCameraEventsActivity.java │ │ │ │ ├── MapSettingsActivity.java │ │ │ │ ├── LocationSourceActivity.java │ │ │ │ ├── MyLocationActivity.java │ │ │ │ ├── MarkerActivity.java │ │ │ │ ├── MapNavigationActivity.java │ │ │ │ └── ShapeActivity.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── CustomInfoWindowAdapter.java │ │ │ │ └── PermissionUtils.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── next │ │ │ └── googlemapapi │ │ │ └── ExampleUnitTest.java │ ├── debug │ │ └── res │ │ │ └── values │ │ │ └── google_maps_api.xml │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── next │ │ │ └── googlemapapi │ │ │ └── ExampleInstrumentedTest.java │ └── release │ │ └── res │ │ └── values │ │ └── google_maps_api.xml ├── proguard-rules.pro └── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradle.properties ├── gradlew.bat ├── README.md ├── gradlew └── LICENSE /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /images/3D Building.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/images/3D Building.jpg -------------------------------------------------------------------------------- /images/Satellite View.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/images/Satellite View.jpg -------------------------------------------------------------------------------- /images/Map and StreetView.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/images/Map and StreetView.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/city.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/drawable/city.bmp -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/adelaide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/drawable/adelaide.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/brisbane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/drawable/brisbane.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/pegman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/drawable-v24/pegman.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/custom_window.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/drawable/custom_window.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mohammadima3oud/Complete-Google-Map-API-Tutorial/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jul 12 18:38:41 IRDT 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/raw/mapstyle_transit.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "featureType": "poi.business", 4 | "elementType": "all", 5 | "stylers": [ 6 | { 7 | "visibility": "off" 8 | } 9 | ] 10 | }, 11 | { 12 | "featureType": "transit", 13 | "elementType": "all", 14 | "stylers": [ 15 | { 16 | "visibility": "off" 17 | } 18 | ] 19 | } 20 | ] -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_map_basic.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_map_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_location_source.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_map_camera_events.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/test/java/com/next/googlemapapi/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.next.googlemapapi; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest 13 | { 14 | @Test 15 | public void addition_isCorrect() 16 | { 17 | assertEquals(4, 2 + 2); 18 | } 19 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_street_view_basic.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_street_view_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_street_view_events.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_person_pin_circle_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 10 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Google Map API 3 | Map 4 | Map 5 | Map 6 | Map 7 | Map 8 | Map 9 | Map 10 | Map 11 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/src/debug/res/values/google_maps_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/next/googlemapapi/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.next.googlemapapi; 2 | 3 | import android.content.Context; 4 | 5 | import androidx.test.InstrumentationRegistry; 6 | import androidx.test.runner.AndroidJUnit4; 7 | 8 | import org.junit.Test; 9 | import org.junit.runner.RunWith; 10 | 11 | import static org.junit.Assert.*; 12 | 13 | /** 14 | * Instrumented test, which will execute on an Android device. 15 | * 16 | * @see Testing documentation 17 | */ 18 | @RunWith(AndroidJUnit4.class) 19 | public class ExampleInstrumentedTest 20 | { 21 | @Test 22 | public void useAppContext() 23 | { 24 | // Context of the app under test. 25 | Context appContext = InstrumentationRegistry.getTargetContext(); 26 | 27 | assertEquals("com.next.googlemapapi", appContext.getPackageName()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/src/release/res/values/google_maps_api.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | YOUR_KEY_HERE 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_my_location.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 |