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.
Thanks for the report @kingfisherphuoc , @osana fixed this with #11226. I cherry picked that commit to be included in the 5.5.0 release that happened yesterday. Would you be able to retest? Closing as issue is already resolved. Note that a couple more improvements are coming to 6.0.0 (eg. crossing dateline etc).
**Platform: Android **
Mapbox SDK version: 5.4.1
Steps to trigger behavior
mapboxMap.getProjection().getVisibleRegion().latLngBounds.contains(latLng);
to check if marker is inside the visible region or notExpected behavior
The marker should be inside the latlngBounds.
Actual behavior
The function
return false
even though the marker is visible to me. It's pretty weird while it returnedtrue
if I did not rotate mapview (bearing = 0).This is the value of
mapboxMap.getProjection().getVisibleRegion().latLngBounds
:This is my marker position:
The text was updated successfully, but these errors were encountered: