Skip to content

Weird behaviour when dragging an icon in an IconLayer with TerrainExtension #7831

Closed Answered by Pessimistress
nvn-nil asked this question in Q&A
Discussion options

You must be logged in to vote

The default on* events do not give you the accurate coordinate when you use terrain. You need to call deck.pickObject with unproject3D: true. https://deck.gl/docs/api-reference/core/deck#pickobject

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@nvn-nil
Comment options

Answer selected by nvn-nil
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants