Cesium 指北针怎么实现?
scene.postRender.addEventListener(function() { var heading = scene.camera.heading; var x = -Cesium.Math.toDegrees(heading); var degrees = "rotate(" + x + "deg)"; $("#compass").css("transform", degrees); });
请问具体怎么实现呢