onDetach abstract method

void onDetach(
  1. MapViewBase mapView
)

Called when removing MapViewLifecycleListener from the map view.

Can be used to implement the logic to remove visual components from the map view and release resources if necessary.

  • mapView The map view to detach from.

Implementation

void onDetach(MapViewBase mapView);