Skip to content

Billboards #2064

Answered by jailln
alienatorZ asked this question in Q&A
Apr 4, 2023 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

Ok it's because var cameraTargetPosition = view.controls.getLookAtCoordinate(); returns coordinates in EPSG:4326 (lat,long, alt) and you need to place the point in the coordinates of the view so you need an intermediary coordinates conversions in the view crs before setting the point position: var posGeo = cameraTargetPosition.as(view.referenceCrs);

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@jailln
Comment options

@alienatorZ
Comment options

@alienatorZ
Comment options

@jailln
Comment options

Answer selected by alienatorZ
@alienatorZ
Comment options

@alienatorZ
Comment options

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