-
Notifications
You must be signed in to change notification settings - Fork 118
Implement method to set padding when camera is tracking. #496
Conversation
e9cb508
to
d0bf8dc
Compare
Can you add the API call in test app's |
let me check, thanks. cc: @Chaoba |
d0bf8dc
to
937ff71
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing work! 🚢 🚢 🚢
With this in place, we should remove the LocationComponentOptions#padding
option from next major Maps SDK iterations.
I'm gonna go ahead and resolve those 2 nitpicks below so that we can merge this PR and get it into today's Maps SDK 9.4.0 pre-release.
...tApp/src/main/java/com/mapbox/mapboxsdk/testapp/activity/location/LocationModesActivity.java
Outdated
Show resolved
Hide resolved
...ndroidSDKTestApp/src/androidTest/java/com/mapbox/mapboxsdk/location/LocationComponentTest.kt
Show resolved
Hide resolved
edaf4b8
to
59f31c1
Compare
59f31c1
to
09cb0bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@LukasPaczos - thanks a lot for helping merge this PR 🙇 |
<changelog>Enabled setting padding while keeping the camera tracking mode.</changelog>
This PR implements
paddingWhileTracking
API so the developer can set a new padding to the mapview while keeping the camera tracking mode.