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

Altitude of the starting or ending point of an arc #122

Closed
BangNguyen1992 opened this issue Mar 28, 2023 · 3 comments
Closed

Altitude of the starting or ending point of an arc #122

BangNguyen1992 opened this issue Mar 28, 2023 · 3 comments

Comments

@BangNguyen1992
Copy link

Is your feature request related to a problem? Please describe.
I have a globe that has 2 layers which are the HTML layer and the arc layer. The HTML layer is a starting point of multiple arcs line, is currently is above the altitude of the arc lines.
This is the problem currently
image

Describe the solution you'd like
I want to have the HTML layer stays below the starting arc line altitude, might be adding two props like arcStartAltitude and arcEndAltitude.

Describe alternatives you've considered
Might be to add orderPriority prop to each layer

Additional context
Add any other context or screenshots about the feature request here.

@vasturiano
Copy link
Owner

@BangNguyen1992 thanks for reaching out.

It's the nature of the HTML layer to be always on top of any other WebGL based layer. Specifically because this is in fact a separate DOM element in the DOM altogether, that gets overlayed on top of the WebGL canvas.

But if what you need is to have WebGL dots that you can place behind the arcs, perhaps you'd be better off using the points layer. Those are represented as cylinders but you can give them low altitude so they resemble circular dots.

@BangNguyen1992
Copy link
Author

Hello @vasturiano, thank you for your reply.

In the beginning, I am thinking of using the points layer as well, however, I need to be able to add styling to the marker and the points layer doesn't provide an option for that.

Do you have other suggestions to achieve this?

@vasturiano
Copy link
Owner

@BangNguyen1992 what type of styling are you thinking of?

If it's something that doesn't fit in the concept of a cylinder, you could use the 3d objects layer that will let you specify any WebGL object you'd like.

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

2 participants