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.
Use setPadding(0, 0, 0, 0) (and other pixel values)
Set the value again, or use LatLngBounding box camera animations
Expected behavior
setPadding() will override current padding and set to given values (set rather than add)
Actual behavior
setPadding() does multiple weird things:
If you set the padding twice most of the time it will add to itself. This is not expected Android behavior
If you use different kinds of padding on animations and objects sometimes the padding adds onto itself.
These issues effect the placement of attribution and compass in addition to mapobjects
I can add examples of this, but it is easy to try setPadding(0, value, 0, 0) to reproduce the issue
The text was updated successfully, but these errors were encountered:
Platform:
AndroidSDK
Mapbox SDK version:
5.1.1
Devices:
Nexus5, Nexus7, S7
AndroidSDK:
20-24
Steps to trigger behavior
Expected behavior
setPadding() will override current padding and set to given values (set rather than add)
Actual behavior
setPadding() does multiple weird things:
These issues effect the placement of attribution and compass in addition to mapobjects
I can add examples of this, but it is easy to try setPadding(0, value, 0, 0) to reproduce the issue
The text was updated successfully, but these errors were encountered: