public interface

OnMapReadyCallback

com.google.android.gms.maps.OnMapReadyCallback

Class Overview

Callback interface for when the map is ready to be used.

Once an instance of this interface is set on a MapFragment or MapView object, the onMapReady(GoogleMap) method is triggered when the map is ready to be used and provides a non-null instance of GoogleMap.

If Google Play services is not installed on the device, the user will be prompted to install it, and the onMapReady(GoogleMap) method will only be triggered when the user has installed it and returned to the app.

Summary

Public Methods
abstract void onMapReady(GoogleMap googleMap)
Called when the map is ready to be used.

Public Methods

public abstract void onMapReady (GoogleMap googleMap)

Called when the map is ready to be used.

Parameters
googleMap A non-null instance of a GoogleMap associated with the MapFragment or MapView that defines the callback.