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

Re-center the viewport when reverting the polygon's last vertex #2458

Merged

Conversation

shobhitagarwal1612
Copy link
Member

@shobhitagarwal1612 shobhitagarwal1612 commented May 4, 2024

Fixes #2145

Things done:

  • Expose a new method in map fragments to allow moving the map camera on a one-off basis
  • Request moving the map camera to polygon's last known vertex
center-prev-vertex.webm

@gino-m @sufyanAbbasi PTAL?

@gino-m
Copy link
Collaborator

gino-m commented May 4, 2024

@sufyanAbbasi PTAL?

@shobhitagarwal1612
Copy link
Member Author

Gentle ping!

Copy link
Collaborator

@gino-m gino-m left a comment

Choose a reason for hiding this comment

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

Sorry for the delay!

@shobhitagarwal1612 shobhitagarwal1612 merged commit 48d6610 into google:master May 23, 2024
2 checks passed
@shobhitagarwal1612 shobhitagarwal1612 deleted the center-prev-vertex branch May 23, 2024 11:35
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.

[Draw an area task] Viewport not centered on last vertex when reverting last point
2 participants