Google Maps API Flashcards
What are some of the features of the Google Maps API
● Google Maps comes packaged with many features including geospatial data, mapping tools, map details, map gesture responses, map locations, etc.
What are the features in Maps SDK for Android
– Adding maps to an Android application
– Customizing the maps to include things like markers, custom colors, or custom icons
– Control the user’s view through rotation, tilt, zoom, and various other perspectives
– Add street view to a given application
Lowest Android version for Maps SDK
4
What is the API key
The API key is a unique identifier that authenticates requests associated with your project for usage and billing purposes.
What are the elements of interest in maps activity file
● SupportMapFragment object manages the life cycle of the
map and is the parent element of the app’s UI.
● GoogleMap object provides access to the map data and view.
● moveCamera function centers the map at the LatLng coordinates for Sydney Australia.
● addMarker function adds a marker to the coordinates for
Sydney
What are the elements of interest in activity_maps.xml file
● tools:context sets the default activity of the fragment to
MapsActivity, which is defined in the maps activity file.
● android:name sets the class name of the fragment to
SupportMapFragment, which is the fragment type used
in the maps activity file.