You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Select marker view annotation not working properly #5384
When calling MapboxMap.selectMarker() on a view annotation the info window isn't placed above the marker like it is when you click the marker yourself:
@ivovandongen is investigating this and it's correct that delaying does not resolve it.
We need to migrate code from the internal onClick listener to the selectMarker method.
Activity
tobrun commentedon Jun 17, 2016
@cammace I guess the ViewMarker is not measured yet and thus resulting in a offset of {0,0}.
From end user perspective there are two workarounds:
cammace commentedon Jun 17, 2016
selectMarker was already being called after a short delay (in the geocoding onResponse) but I added a handler anyways and the problem still persist.
tobrun commentedon Jun 17, 2016
@ivovandongen is investigating this and it's correct that delaying does not resolve it.
We need to migrate code from the internal onClick listener to the
selectMarkermethod.ivovandongen commentedon Jun 17, 2016
@cammace Found the problem. Is coming together with #5282
zugaldia commentedon Jun 17, 2016
@cammace The PR has now landed via #5391, please reopen if you still observe this issue happening in the release branch.