Billboards #2064
-
|
Is there an example for how to create billboards similar to billboards in Cesium? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
|
Ok, I think that I figured that out by using the LabelLayer example. Now my question is: How do I move a label in real time? Imagine a label representing a persons position. How is the best way to update the position? |
Beta Was this translation helpful? Give feedback.
-
|
I would advise to use threejs directly to do so instead of |
Beta Was this translation helpful? Give feedback.
Ok it's because
var cameraTargetPosition = view.controls.getLookAtCoordinate();returns coordinates inEPSG: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);