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

Obtain the coordinates of four points in the visual range #514

Open
juzi5230 opened this issue Nov 1, 2021 · 5 comments
Open

Obtain the coordinates of four points in the visual range #514

juzi5230 opened this issue Nov 1, 2021 · 5 comments

Comments

@juzi5230
Copy link

juzi5230 commented Nov 1, 2021

Can I obtain the coordinates of four points in the visual range

@yujingz
Copy link

yujingz commented Nov 4, 2021

Can you elaborate on what the visual range means?

@juzi5230
Copy link
Author

juzi5230 commented Nov 9, 2021

Can you elaborate on what the visual range means?

The range we can see of the screen,
i want to obtain the coordinates of the four vertices in the screen,
or the minimum coordinate point and the maximum coordinate point

@yujingz
Copy link

yujingz commented Nov 9, 2021

Coordinates doesn't really make sense in 3d views

For 2D views, check out https://avs.auto/#/streetscape.gl/api-reference/react-components/log-viewer?section=onclick-function-optional-

@juzi5230
Copy link
Author

juzi5230 commented Dec 1, 2021

Coordinates doesn't really make sense in 3d views

For 2D views, check out https://avs.auto/#/streetscape.gl/api-reference/react-components/log-viewer?section=onclick-function-optional-

I get it ,thanks for you reply!

@twojtasz
Copy link
Contributor

twojtasz commented Jan 2, 2022

@juzi5230 I think what you want are the bounds of the viewport. deck.gl supports this, see https://deck.gl/docs/api-reference/core/viewport

I don't know if we expose this at the. moment.

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

No branches or pull requests

3 participants