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 has been archived by the owner on Aug 8, 2023. It is now read-only.
Info window appears always at the same distance from the marker
Actual behavior
The first time I tap it appears correctly, following taps make the info window appear with an offset
This happens using the default icon and also the purple_marker custom example. There's also other thing I noticed, when using the default icon I have to tap above the icon in order to make the info window appear. I saw that the purple_marker.png file has more height than the actual marker. Is this on purpose for this tapping problem not to happen? I attach some screenshots to illustrate what I'm talking about.
First tap
Second tap
Default marker
I need to tap on top of the marker for the info window to appear.
This also is happening to me with other custom images different than purple_marker.png.
Also in this last screenshot you can notice that while having the same position the default marker appears a little bit below regarding the image than the custom marker but I think this is due to the purple_marker.png file having the transparent space at the bottom
Custom image
Any idea on what's going on? Thanks
The text was updated successfully, but these errors were encountered:
@Jmaguerre not sure what is going on without seeing the code but normally a secondary click will close the InfoWindow. I'm guessing you are overriding some interface and managing the infowindow yourself? I think that you are hitting this issue because of #3176 and #6099. Both these issues have been resolved for the upcoming 5.0.0 release.
Feel free to add some code to help look into this more, going to close this as I'm not able to reproduce this from our end. Thank you for reporting and feel free to reach out if you have any questions.
Hi @tobrun thanks for looking into this, maybe I was not clear enough, a secondary click does close the infowindow, what I was trying to say was that the second time the infowindow is shown after clicking on the marker is when the infowindow is rendered with an offset.
I am not overriding any interface nor managing the infowindow myself. However, there is definitely something on my side that is causing this because I tried with a fresh project and it is not happening but I can't figure out why.
I'll continue to look into this and if I find anything I'll report it.
Thanks again.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Platform: Android
Mapbox SDK version: 4.2.0-beta.5
Steps to trigger behavior
Expected behavior
Info window appears always at the same distance from the marker
Actual behavior
The first time I tap it appears correctly, following taps make the info window appear with an offset
This happens using the default icon and also the purple_marker custom example. There's also other thing I noticed, when using the default icon I have to tap above the icon in order to make the info window appear. I saw that the purple_marker.png file has more height than the actual marker. Is this on purpose for this tapping problem not to happen? I attach some screenshots to illustrate what I'm talking about.
First tap
Second tap
Default marker
I need to tap on top of the marker for the info window to appear.
This also is happening to me with other custom images different than purple_marker.png.
Also in this last screenshot you can notice that while having the same position the default marker appears a little bit below regarding the image than the custom marker but I think this is due to the purple_marker.png file having the transparent space at the bottom
Custom image
Any idea on what's going on? Thanks
The text was updated successfully, but these errors were encountered: