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

[OGC3DTiles] Add support for picking #2364

Open
wants to merge 6 commits into
base: 3d-tiles-migration
Choose a base branch
from

Conversation

Desplandis
Copy link
Contributor

@Desplandis Desplandis commented Jul 18, 2024

Description

This PR add support for picking on new OGC3DTilesLayer. It is compatible with the old interface of C3DTilesLayer except that getC3DTileFeatureFromIntersectsArrays (please rename this 40 chars method name...) now returns an object containing features for the closest intersection instead of an old C3DTilesFeature instance.

This PR also add picking for points data, which was not supported on the old implementation (you could try it live with 3dtiles_pointcloud example).

Note that we are waiting for NASA-AMMOS/3DTilesRendererJS#627 to be merged and new version of 3d-tiles-renderer before merging this PR. =)

@Desplandis Desplandis changed the title Add support for picking on OGC3DTiles layer [OGC3DTiles] Add support for picking Jul 18, 2024
@Desplandis Desplandis requested a review from jailln July 19, 2024 12:22
@Desplandis Desplandis marked this pull request as ready for review July 19, 2024 12:28
@Desplandis
Copy link
Contributor Author

Rebased on #2365

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.

None yet

2 participants