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.
This is due to use checking if it is transparent or not. We should rethink this check or expose a setVisibility method for the foreground/background images. @tobrun what do you think?
Platform: Android 5.0
Mapbox SDK version: 4.2.0.beta.3
Steps to trigger behavior
MyLocationViewSettings.setForegroundDrawable
to show a custom drawable at the user's locationMyLocationViewSettings.setBackgroundTintColor
with #00000000 (fully transparent black)In
OnMapReadyCallback.onMapReady
:In colors.xml:
Setting the color to #00ffffff avoids this issue and yields the expected result.
Expected behavior
Only the marker drawable should be rendered at the user's location, nothing else.
Actual behavior
The drawable appears with a light gray dot below it. This appears to be the default background tint.
It would be nice to be able to use
setBackgroundTintColor(null)
to disable the background altogether.The text was updated successfully, but these errors were encountered: