code: public void saveStateWith(String key, Bundle outState) {
      settings.updateCurrentPadding(mapPaddingAdjustor.retrieveCurrentPadding());
      settings.updateShouldUseDefaultPadding(mapPaddingAdjustor.isUsingDefault());
      settings.updateCameraTrackingMode(mapCamera.getCameraTrackingMode());
      settings.updateLocationFpsEnabled(locationFpsDelegate.isEnabled());
      NavigationMapboxMapInstanceState instanceState = new NavigationMapboxMapInstanceState(settings);
      outState.putParcelable(key, instanceState);
    }
docs: Can be used to store the current state of the map in
  {@link android.support.v4.app.FragmentActivity#onSaveInstanceState(Bundle, PersistableBundle)}.
  <p>
  This method uses {@link NavigationMapboxMapInstanceState}, stored with the provided key.  This key
  can also later be used to extract the {@link NavigationMapboxMapInstanceState}.
  
  @param key      used to store the state
  @param outState to store state variables