On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

ConsumerGoogleMap.ConsumerMapReadyCallback

Stay organized with collections Save and categorize content based on your preferences.
public static abstract class ConsumerGoogleMap.ConsumerMapReadyCallback extends Object

Callback to get a handle to ConsumerGoogleMap.

Public Constructor Summary

Public Method Summary

abstract void
onConsumerMapReady(ConsumerGoogleMap consumerGoogleMap)
Called when the ConsumerGoogleMap is available and its associated ConsumerMapFragment or ConsumerMapView is ready to use.

Inherited Method Summary

Public Constructors

public ConsumerMapReadyCallback ()

Public Methods

public abstract void onConsumerMapReady (ConsumerGoogleMap consumerGoogleMap)

Called when the ConsumerGoogleMap is available and its associated ConsumerMapFragment or ConsumerMapView is ready to use.

This guarantees that the map has undergone layout. This behavior is different from OnMapReadyCallback in the Maps SDK, which doesn't wait for the map to undergo layout.

Parameters
consumerGoogleMap a non-null ConsumerGoogleMap associated with the ConsumerMapFragment or ConsumerMapView.