draw text "on screen" #5652
Unanswered
farfromrefug
asked this question in
Q&A
Replies: 1 comment 6 replies
-
You can calculate the on-screen positions using viewport.project and then render the texts in an OrthographicView on top of the MapView. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today i have this working with a
deck.gl
Now i would like to achieve something more like this. By like that i mean drawing texts "onscreen" (fixed font size not depending on "distance" to camera). And maybe even draw them at a "z" position depending on the camera view. That way i could draw them let s say at 3000m. But if the camera view dont "see" 3000m i could draw them at a lower z position.
As anyone any idea on how to achieve that in deck.gl?
Beta Was this translation helpful? Give feedback.
All reactions