Replies: 1 comment 1 reply
-
Have you looked at the triangle globe example? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to render a 20-pixel-wide rectangle using a custom layer.
I'm using the following JavaScript function to map pixels to WebGL coordinates, but this method doesn't work when using a globe projection. I'd like to know if there's a correct way to do this.
Planar projection:

Spherical projection:

Beta Was this translation helpful? Give feedback.
All reactions