docs: public void onDetach() {
  		this.getOverlayManager().onDetach(this);
  		mTileProvider.detach();
  		mOldZoomController.setVisible(false);
  		if (mZoomController != null) {
  			mZoomController.onDetach();
  		}
  
  		//https://github.com/osmdroid/osmdroid/issues/390
  		if (mTileRequestCompleteHandler instanceof SimpleInvalidationHandler) {
  			((SimpleInvalidationHandler) mTileRequestCompleteHandler).destroy();
  		}
  		mTileRequestCompleteHandler=null;
  		if (mProjection!=null)
  			mProjection.detach();
  		mProjection=null;
  		mRepository.onDetach();
  		mListners.clear();
  	}