Lecture 27: Android Google Maps API with Example

Publicado el: 13 octubre 2020
en el canal de: C language programming [English + Marathi]
57
2

Android Google Maps API with Example:
By using Google Maps Android API we can integrate google maps in android applications to show the location details on map based on our requirements.
To use google maps in our android applications, we need to install Google Play Services SDK in our Android Studio because google made Google Map API as a part of Google Play Services SDK.
To install Google Play Services, open Android Studio and Go to Tools menu and select SDK Manager, then new window will open in that select SDK Tools tab and Select Google Play Services then click OK.
Once we are done with Google Play Services installation in android studio, now we will see how to integrate google map with our android app.
First choose Google Maps Activity, instead of Empty Activity.
Once the project created, Android Studio will open google_maps_api.xml and MapsActivity.java files in the editor.
Android Google Map Types:
The Google Maps Android API provides a map in different types such as Normal, Hybrid, Satellite, Terrain and None.
1. Normal: Typical road map. Shows roads, some features built by humans, and important natural features like rivers.
2. Hybrid: Satellite photograph data with road maps added.
3. Satellite: Satellite photograph data.
4. Terrian: Topographic data. The map includes colors, contour lines.
5. None: No tiles. The map will be rendered as an empty grid with no tiles loaded.
In android, we can change the type of a map by calling the GoogleMap object’s setMapType() method, by passing the type of constants defined in GoogleMap.
Prof. Amol M. Jagtap
MTech CSE


En esta página del sitio puede ver el video en línea Lecture 27: Android Google Maps API with Example de Duración hora minuto segunda en buena calidad , que subió el usuario C language programming [English + Marathi] 13 octubre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 57 veces y le gustó 2 a los espectadores. Disfruta viendo!