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

Fixing zooming bugs on Validate #3391

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

misaugstad
Copy link
Member

Fixes #3309

Fixes some zooming bugs on the Validate page. I believe that Google must have changed the underlying API at some point without documenting it... The crux of the issue is that there is a getZoom() function for the StreetViewService object that can return the wrong zoom level if the zoom level was set using the setPov() function. However the getPov() function always returns the correct zoom level, so I've replaced all uses of getZoom() with getPov().zoom!

Things to check before submitting the PR
  • I've written a descriptive PR title.
  • I've tested on mobile (only needed for validation page).

@misaugstad misaugstad self-assigned this Sep 27, 2023
@misaugstad misaugstad merged commit 196ce61 into develop Sep 27, 2023
@misaugstad misaugstad deleted the 3309-bug-zoom-in-validate branch September 27, 2023 19:34
@misaugstad misaugstad mentioned this pull request Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zooming bug in validation UI
1 participant