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

[viewannotation] Introduce show annotations api [MAPSAND-464] #1753

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

ank27
Copy link
Contributor

@ank27 ank27 commented Oct 17, 2022

Summary of changes

Introduce ViewAnnotationManager.cameraForAnnotations that returns CameraOptions for provided annotations. Users can use custom animation to move camera to fit specified anntations.

If users set ViewAnnotationOptions.visible = false explicitly, we will exclude those views from the calculation for cameraOptions. Also, only the views for which visibility is set to Visible, will be considered in the calculation.

User impact (optional)

viewannotation_framing.mp4

@ank27 ank27 self-assigned this Oct 17, 2022
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch from 48634cd to 4ca6825 Compare October 17, 2022 10:14
@ank27 ank27 changed the title [viewannotation] Introduce show annotations api [viewannotation] Introduce show annotations api [MAPSAND-464] Oct 20, 2022
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch 2 times, most recently from b21127f to a3a0135 Compare October 20, 2022 12:10
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch 2 times, most recently from 29d26ea to 6155c4a Compare October 20, 2022 12:30
@ank27 ank27 marked this pull request as ready for review October 25, 2022 07:46
@ank27 ank27 requested review from a team as code owners October 25, 2022 07:46
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch from 6155c4a to 555087a Compare October 25, 2022 13:35
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch 2 times, most recently from 8b5cbd9 to 7a60489 Compare October 27, 2022 06:07
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch from ce27415 to c121b28 Compare November 1, 2022 11:09
@ank27 ank27 requested review from yunikkk and maios November 1, 2022 11:31
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch 2 times, most recently from eb30475 to da33a32 Compare November 1, 2022 14:26
@ank27 ank27 requested a review from kiryldz November 1, 2022 14:26
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch 3 times, most recently from b78ca74 to 58854ac Compare November 1, 2022 14:49
Copy link
Contributor

@yunikkk yunikkk left a comment

Choose a reason for hiding this comment

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

LGTM, one nit

Copy link
Contributor

@yunikkk yunikkk left a comment

Choose a reason for hiding this comment

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

Couple questions

@yunikkk yunikkk self-requested a review November 1, 2022 15:17
@ank27 ank27 force-pushed the ak-viewannotation-frame-api branch from 58854ac to 9692f51 Compare November 1, 2022 17:03
Copy link
Contributor

@kiryldz kiryldz left a comment

Choose a reason for hiding this comment

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

LGTM with one question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants