Google Map Integration In Android Studio Project | Show A Marker On Google Map |

Опубликовано: 20 Февраль 2023
на канале: Code By Ashish
4,181
48

Hello friends,
Welcome to android tutorials series, In this video we will integrate Google Map SDK in android studio project.
Also show a marker for a particular location on the integrated google map.

for this setup we need to add repository and library of google mobile services and Google map.

in top-level "settings.gradle"

pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}

in module level "build.gradle"

dependencies {
implementation 'com.google.android.gms:play-services-maps:18.1.0'
}

Add Plugin in project-level "build.gradle"
plugins {
// ...
id 'com.google.android.libraries.mapsplatform.secrets-gradle-plugin' version '2.0.1' apply false

Add MAP_API_KEY meta-data in AndroidManifest.xml

Now setup the project and sync.

Watch other videos related to Google Map :
*. Current location google map -
   • Current Location On Google Map In And...  

*. Custom marker icon on google map -
   • Custom Marker Icon On Google Map In A...  

Other Tutorials :
Lottie Animation Implementation In Android App :
   • Lottie Animation Implementation in An...  

WebView Implementation In Android App:
   • WebView Implementation in Android App...  

Custom Exit Dialog In Android App:
   • Custom Exit Dialog in Android Studio ...  

Open One Activity to Another Activity:
   • Open One Activity To Another Activity...  

Connect me on social media :
GitHub : https://github.com/DangiAshish

Join Facebook Helpdesk Group:
  / coder.ashish  

Follow on Insta :
  / coder.ashish  

#codebyashish #googlemapsdk #googlemapmarker