DC-SDK is based on the open source project Cesium for the second development of two three-dimensional WebGis application framework , the framework optimizes the use of Cesium and adds some additional features , designed for developers to quickly build WebGis application.🌎
看报错信息是因为this._delegate.polygon.hierarchy,对于Circle没有polygon这个属性 尝试将EditCircle.js中_mountedHook函数修改如下可以解决问题: _mountedHook() { this._radius = this._overlay.radius this._center = Transform.transformWGS84ToCartesian(this._overlay.center) this._positions = [].concat([ this._center, this._computeCirclePoints(this._center, this._radius)[0] ]) this._delegate.position = new Cesium.CallbackProperty(() => { return this._positions[0] }) this._delegate.ellipse.semiMajorAxis = this._delegate.ellipse.semiMinorAxis = new Cesium.CallbackProperty(() => { if (this._positions.length > 1) { this._radius = Cesium.Cartesian3.distance( this._positions[0], this._positions[1] ) if (this._radius <= 0) { return null } return this._radius } else { return null } }) this._layer.entities.add(this._delegate) }