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

Android MarkerView onMarkerClick fired only after second click #8991

Closed
nijs9 opened this issue May 13, 2017 · 2 comments
Closed

Android MarkerView onMarkerClick fired only after second click #8991

nijs9 opened this issue May 13, 2017 · 2 comments
Labels
Android Mapbox Maps SDK for Android

Comments

@nijs9
Copy link

nijs9 commented May 13, 2017

When clicking a MarkerView in de latest Android SDK, onMarkerClick event is not fired. On first click, an infowindow appears. Only on second click, the onMarkerClick event is fired.

@tobrun
Copy link
Member

tobrun commented May 15, 2017

Thank for the report @nijs9, for MarkerView you should use MapboxMap.OnMarkerViewClickListener which you can set through MapboxMap.getMarkerViewManager().setOnMarkerViewClickListener.

The second part of the OP shouldn't happen. Going to use this issue to fix that part up.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label May 15, 2017
@tobrun tobrun added this to the android-v5.1.0 milestone May 15, 2017
@tobrun
Copy link
Member

tobrun commented May 15, 2017

Fixed in #8996. Closing

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

2 participants