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

[GLJS-781] Improved performance of markers dragging #316

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

underoot
Copy link
Member

Created snapshot of state and make comparision to understand that we need to update only markers at the moment. Helped improve performance of markers dragging in Safari

Before:
https://github.com/mapbox/mapbox-gl-directions/assets/2480721/d28d9156-4e5e-4ad3-9329-d1574b1fa180

After:
https://github.com/mapbox/mapbox-gl-directions/assets/2480721/ea18fd57-6833-420f-b4dc-12524a4ecb09

@underoot underoot force-pushed the underoot-GLJS-781 branch 2 times, most recently from f888e9a to fd2efd4 Compare March 28, 2024 15:56
Copy link
Contributor

@stepankuzmin stepankuzmin left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@underoot underoot merged commit b2be627 into master Apr 3, 2024
8 checks passed
@underoot underoot deleted the underoot-GLJS-781 branch April 3, 2024 14:55
@underoot underoot mentioned this pull request Apr 3, 2024
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.

2 participants