Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Implement method to set padding when camera is tracking. #496

Merged
merged 2 commits into from
Jul 30, 2020

Conversation

JunDai
Copy link
Contributor

@JunDai JunDai commented Jul 24, 2020

<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.

@JunDai JunDai added the feature 🍏 New feature or request label Jul 24, 2020
@JunDai JunDai requested review from tobrun, LukasPaczos and a team July 24, 2020 15:42
@JunDai JunDai force-pushed the jd-padding-while-tracking branch 2 times, most recently from e9cb508 to d0bf8dc Compare July 24, 2020 15:51
@Chaoba
Copy link
Contributor

Chaoba commented Jul 27, 2020

Can you add the API call in test app's LocationModesActivity to enable manual test for this function?

@JunDai
Copy link
Contributor Author

JunDai commented Jul 27, 2020

Can you add the API call in test app's LocationModesActivity to enable manual test for this function?

let me check, thanks.
[Edit]: the example updated.

cc: @Chaoba

@JunDai JunDai force-pushed the jd-padding-while-tracking branch from d0bf8dc to 937ff71 Compare July 28, 2020 17:20
Copy link
Member

@LukasPaczos LukasPaczos left a 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.

Copy link
Member

@tobrun tobrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@LukasPaczos LukasPaczos merged commit a926bbd into master Jul 30, 2020
@LukasPaczos LukasPaczos deleted the jd-padding-while-tracking branch July 30, 2020 10:55
@JunDai
Copy link
Contributor Author

JunDai commented Jul 30, 2020

@LukasPaczos - thanks a lot for helping merge this PR 🙇

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature 🍏 New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants