public interface OnMapReadyCallback
Once an instance of this interface is set on a MapFragment
or MapView
object,
the onMapReady(MapboxMap) method is triggered when the map is ready to be used and provides an instance of
MapboxMap
.
Modifier and Type | Method and Description |
---|---|
void |
onMapReady(MapboxMap mapboxMap)
Called when the map is ready to be used.
|
void onMapReady(@NonNull MapboxMap mapboxMap)
mapboxMap
- An instance of MapboxMap associated with the MapFragment
or
MapView
that defines the callback.