王浩
Results
1
issues of
王浩
我调用pickFeatures()想获取鼠标点击的元素的矢量信息,用于后期的操作,比如更换颜色。从我阅读源码猜测是用这个方法。 用cesium的api获取需取该方法需要的参数,如下: ``` function getApproximateZoomLevel() { var cameraHeight = state.mapInstance.viewer.camera.positionCartographic.height; var approximateZoomLevel = Math.log2(591657550.500000 / cameraHeight); console.log('Approximate Zoom Level: ', approximateZoomLevel); return approximateZoomLevel } state.mapInstance.viewer.screenSpaceEventHandler.setInputAction(function onLeftClick(movement) { var cartesian =...