Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Configuration not retained #10907

Closed
tobrun opened this issue Jan 11, 2018 · 1 comment
Closed

Configuration not retained #10907

tobrun opened this issue Jan 11, 2018 · 1 comment
Labels
Android Mapbox Maps SDK for Android

Comments

@tobrun
Copy link
Member

tobrun commented Jan 11, 2018

While working on a MapState ViewModel object as part of #10870, I'm noticing that the following configuration is not saved as part of OnSaveInstanceState:

 /**
   * Gets whether the markers are automatically deselected (and therefore, their infowindows
   * closed) when a map tap is detected.
   *
   * @return If true, markers are deselected on a map tap.
   */
  public boolean isDeselectMarkersOnTap() {
    return deselectMarkersOnTap;
  }

  /**
   * Sets whether the markers are automatically deselected (and therefore, their infowindows
   * closed) when a map tap is detected.
   *
   * @param deselectMarkersOnTap determines if markers should be deslected on tap
   */
  public void setDeselectMarkersOnTap(boolean deselectMarkersOnTap) {
    this.deselectMarkersOnTap = deselectMarkersOnTap;
  }
@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jan 11, 2018
@tobrun tobrun added this to the android-v5.3.2 milestone Jan 11, 2018
@tobrun tobrun changed the title Deselect marker on tap configuration not retained Configuration not retained Jan 11, 2018
@tobrun
Copy link
Member Author

tobrun commented Jan 11, 2018

Adding here that the same is occurring for userProvidedFocalPoint class member in UiSettings.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android
Projects
None yet
Development

No branches or pull requests

1 participant