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

Vary the altitude for annotations? #26

Open
wangela opened this issue Oct 27, 2017 · 2 comments
Open

Vary the altitude for annotations? #26

wangela opened this issue Oct 27, 2017 · 2 comments

Comments

@wangela
Copy link

wangela commented Oct 27, 2017

When I have a lot of annotations next to each other, they occlude each other. I have tried passing a location with various altitudes when initializing each annotation but that does not seem to be taken into account when placing the annotation in 3D space. Will you have plans to use the altitude parameter of the location when placing the annotation? Alternatively you can make altitude grow with distance, i.e. farther annotations are displayed higher up in space.

Do let me know if this is already supported and I missed something or implemented incorrectly.

@boundsj
Copy link
Contributor

boundsj commented Oct 30, 2017

It's poorly described but #1 covers one possible related implementation.

Currently there are no APIs to translate a CLLocation's altitude to the y axis of an SCNNode. I think you could probably do that yourself for the SCNNode you provide in AnnotationManagerDelegate.node(for:).

@gduranon
Copy link

Any advances on this issue?

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