This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Info Window translated out of view when MapView embedded in PagerAdapter #10288
Labels
Android
Mapbox Maps SDK for Android
Platform:
Android
Mapbox SDK version:
mapbox-android-sdk:5.2.0-beta.2
Steps to trigger behavior
Expected behavior
The default info window should appear above the marker annotation which was just tapped.
Actual behavior
The info window appears just outside of the scroll view. As if the offset from the view pager is being applied to the info window but not the annotations. The annotations/markers show up in the right spot but the info window is translated. This does NOT happen if the map view is instantiated as the first view within the page adapter in my application. I've attached a screenshot illustrating the effect.
Here is how the map is instantiated in the pager adapter:
The text was updated successfully, but these errors were encountered: