Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(landing): Fix the map switcher that setting bearing and pitch to 0. BM-1063 #3326

Merged
merged 3 commits into from
Aug 14, 2024

Conversation

Wentao-Kuang
Copy link
Contributor

@Wentao-Kuang Wentao-Kuang commented Aug 14, 2024

Motivation

Landing page map switcher on the bottom left doesn't set the map location when bearing or pitch is 0.

Modifications

The map switcher sets the bearing and pitch by the update location from config. But it is skip setting when pitch or bearing is null. We should also set to 0 if null.

Verification

@Wentao-Kuang Wentao-Kuang requested a review from a team as a code owner August 14, 2024 00:25
@Wentao-Kuang Wentao-Kuang added this pull request to the merge queue Aug 14, 2024
Merged via the queue into master with commit 47304ff Aug 14, 2024
11 checks passed
@Wentao-Kuang Wentao-Kuang deleted the fix/switcher-map branch August 14, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants