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

How to avoid deselect the infowindow of marker when click the map About android sdk #4159

Closed
Trinea opened this issue Mar 1, 2016 · 5 comments
Labels
Android Mapbox Maps SDK for Android feature

Comments

@Trinea
Copy link

Trinea commented Mar 1, 2016

the infowindow of marker will dismiss when click the map, how to avoid this.

like this:

@tobrun tobrun added Android Mapbox Maps SDK for Android feature request labels Mar 1, 2016
@tobrun
Copy link
Member

tobrun commented Mar 1, 2016

We currently don't expose a configuration to leave them open,
Current implementation always calls mMapboxMap.deselectMarkers()
To have this feature, we should expose this as a flag in UiSettings.java.

@Trinea
Copy link
Author

Trinea commented Mar 1, 2016

ok, thank you.

@zugaldia
Copy link
Member

Picking this one up.

@zugaldia
Copy link
Member

#5312 exposes an API to make this possible. With this new behavior, developers can decide whether to close or not the infowindows under a map single tap:

video

zugaldia added a commit that referenced this issue Jun 13, 2016
@zugaldia zugaldia added this to the android-v4.1.0 milestone Jun 14, 2016
@zugaldia
Copy link
Member

@Trinea this is now implemented and it'll be part of the next release 4.1. Please let us know if you're still missing any functionality here.

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

No branches or pull requests

5 participants