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

Vehicle Overlay: Fix zoom bug fix #713

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

miles-grant-ibigroup
Copy link
Collaborator

Previously the zoom was only being checked on render. This means if you didn't click anything the layer wouldn't update and the cool ferris wheel behavior functioned very strangely. By moving zoom state into react state we do things more sensibly. Most importantly, the zoom behavior is fixed!

Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

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

Makes sense! Thank you!

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

See comments

Copy link
Collaborator

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Seems to work, and thanks for the clarifications!

@miles-grant-ibigroup miles-grant-ibigroup merged commit 4edac87 into master Feb 15, 2024
2 checks passed
@miles-grant-ibigroup miles-grant-ibigroup deleted the fix-bikeshare-layer-ferris-wheels branch February 15, 2024 21:43
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.

3 participants