Bläddra i källkod

fix the spelling issue

tags/2.4.1
Caven Chen 4 år sedan
förälder
incheckning
4480668187

+ 2
- 2
modules/plot/edit/Edit.js Visa fil

* *
* @private * @private
*/ */
_stopdHook() {
_stopedHook() {
this._overlay.positions = Transform.transformCartesianArrayToWGS84Array( this._overlay.positions = Transform.transformCartesianArrayToWGS84Array(
this._positions this._positions
) )
this._unbindEvent() this._unbindEvent()
this._viewer.editTool.deactivate() this._viewer.editTool.deactivate()
this._layer.entities.remove(this._delegate) this._layer.entities.remove(this._delegate)
this._stopdHook()
this._stopedHook()
} }


/** /**

+ 1
- 1
modules/plot/edit/EditBillboard.js Visa fil

* *
* @private * @private
*/ */
_stopdHook() {
_stopedHook() {
this._overlay.position = Transform.transformCartesianToWGS84(this._position) this._overlay.position = Transform.transformCartesianToWGS84(this._position)
this._overlay.show = true this._overlay.show = true
this._options.onEditStop && this._options.onEditStop(this._overlay) this._options.onEditStop && this._options.onEditStop(this._overlay)

+ 1
- 6
modules/plot/edit/EditCircle.js Visa fil

_mountedHook() { _mountedHook() {
this._radius = this._overlay.radius this._radius = this._overlay.radius
this._center = Transform.transformWGS84ToCartesian(this._overlay.center) this._center = Transform.transformWGS84ToCartesian(this._overlay.center)
// this._delegate = new Cesium.Entity({
// polygon: {
// material: this._overlay.delegate?.polygon?.material
// }
// })
this._positions = [].concat([ this._positions = [].concat([
this._center, this._center,
this._computeCirclePoints(this._center, this._radius)[0] this._computeCirclePoints(this._center, this._radius)[0]
* *
* @private * @private
*/ */
_stopdHook() {
_stopedHook() {
this._overlay.center = Transform.transformCartesianToWGS84( this._overlay.center = Transform.transformCartesianToWGS84(
this._positions[0] this._positions[0]
) )

+ 1
- 1
modules/plot/edit/EditPoint.js Visa fil

* *
* @private * @private
*/ */
_stopdHook() {
_stopedHook() {
this._overlay.position = Transform.transformCartesianToWGS84(this._position) this._overlay.position = Transform.transformCartesianToWGS84(this._position)
this._overlay.show = true this._overlay.show = true
this._options.onEditStop && this._options.onEditStop(this._overlay) this._options.onEditStop && this._options.onEditStop(this._overlay)

Laddar…
Avbryt
Spara