var picklHandler = new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas);picklHandler .setInputAction(function (click) { var pick = viewer.camera.getPickRay(click.position); var cartesian = scene.globe.pick(pick, viewer.scene); if (cartesian) { var…
var handler = new Cesium.ScreenSpaceEventHandler(viewer.scene._imageryLayerCollection);var ray,position1,cartographic1,lon,lat,height;handler.setInputAction(function (event) { ray = viewer.scene.camera.getPickRay(event.endPosition); position1 = viewe…