acEntity = viewer.entities.add({position: new Cesium.CallbackProperty(getAcPosition, false),model : {uri : acHref,}});function getAcPosition() {return Cesium.Cartesian3.fromDegrees(acState.lng, acState.lat, acState.alt + undulation);}
acEntity = viewer.entities.add({position: new Cesium.CallbackProperty(getAcPosition(acState), false),model : {uri : acHref,}});function getAcPosition(state) {return Cesium.Cartesian3.fromDegrees(state.lng, state.lat, state.alt + undulation);}
function getCallbackFunction(argument) {
return function callbackFunction() {
return Cesium.Cartesian3.fromDegrees(argument.lon, argument.lat);
};
}
viewer.entities.add({
position: new Cesium.CallbackProperty(getCallbackFunction(argument), false)
});
--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.