Merge branch 'master' of http://xny.yj-3d.com:3000/zh/sdk4.0_new
This commit is contained in:
		| @ -117,7 +117,6 @@ class TextBox extends Base { | ||||
|         // alt: height | ||||
|       } | ||||
|       let posi = Cesium.Cartesian3.fromDegrees(longitude, latitude, cartographic.height) | ||||
|  | ||||
|       that.handler = function () { | ||||
|         const position = Cesium.SceneTransforms.wgs84ToWindowCoordinates( | ||||
|           that.sdk.viewer.scene, posi | ||||
| @ -150,7 +149,6 @@ class TextBox extends Base { | ||||
|     let that = this | ||||
|     that.sdk.viewer.scene.postRender.removeEventListener(that.handler); | ||||
|     let posi = Cesium.Cartesian3.fromDegrees(position.lng, position.lat, position.alt) | ||||
|  | ||||
|     that.handler = function () { | ||||
|       const position = Cesium.SceneTransforms.wgs84ToWindowCoordinates( | ||||
|         that.sdk.viewer.scene, posi | ||||
|  | ||||
		Reference in New Issue
	
	Block a user