Interface MapFragment.OnMapViewReadyCallback

Enclosing class:
MapFragment

public static interface MapFragment.OnMapViewReadyCallback
Callback to be invoked when the map fragment has inflated its MapView.

To use this interface the context hosting the fragment must implement this interface. That instance will be set as part of Fragment#onAttach(Context context).

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the map has been created.
  • Method Details

    • onMapViewReady

      void onMapViewReady(MapView mapView)
      Called when the map has been created.
      Parameters:
      mapView - The created mapview