The models are moving smoothless, the html label (which later will include a more complex view) was not showing at all.
By changing <ac-html-desc props="{position: plane.position, show: true}"> to <ac-html-desc props="{position: plane.position.getValue(), show: true}">
I got it to show, but obviously it is not updating and the label stays behind
Trying to simulate a flight path of a 3d model helicopter.
First try was a success, showing the model and the html as follows :
I have used a
setInterval
function which updated the position through a call forupdateLayer
Thinking forward (displaying hundreds of planes), the
updateLayer
call is not scalable, I have tried using CallbackProperty as followsThe models are moving smoothless, the html label (which later will include a more complex view) was not showing at all.
By changing
<ac-html-desc props="{position: plane.position, show: true}">
to<ac-html-desc props="{position: plane.position.getValue(), show: true}">
I got it to show, but obviously it is not updating and the label stays behind