Bladeren bron

fix the spelling issue

tags/2.4.1
Caven Chen 4 jaren geleden
bovenliggende
commit
4480668187

+ 2
- 2
modules/plot/edit/Edit.js Bestand weergeven

@@ -39,7 +39,7 @@ class Edit {
*
* @private
*/
_stopdHook() {
_stopedHook() {
this._overlay.positions = Transform.transformCartesianArrayToWGS84Array(
this._positions
)
@@ -96,7 +96,7 @@ class Edit {
this._unbindEvent()
this._viewer.editTool.deactivate()
this._layer.entities.remove(this._delegate)
this._stopdHook()
this._stopedHook()
}

/**

+ 1
- 1
modules/plot/edit/EditBillboard.js Bestand weergeven

@@ -30,7 +30,7 @@ class EditBillboard extends Edit {
*
* @private
*/
_stopdHook() {
_stopedHook() {
this._overlay.position = Transform.transformCartesianToWGS84(this._position)
this._overlay.show = true
this._options.onEditStop && this._options.onEditStop(this._overlay)

+ 1
- 6
modules/plot/edit/EditCircle.js Bestand weergeven

@@ -22,11 +22,6 @@ class EditCircle extends Edit {
_mountedHook() {
this._radius = this._overlay.radius
this._center = Transform.transformWGS84ToCartesian(this._overlay.center)
// this._delegate = new Cesium.Entity({
// polygon: {
// material: this._overlay.delegate?.polygon?.material
// }
// })
this._positions = [].concat([
this._center,
this._computeCirclePoints(this._center, this._radius)[0]
@@ -80,7 +75,7 @@ class EditCircle extends Edit {
*
* @private
*/
_stopdHook() {
_stopedHook() {
this._overlay.center = Transform.transformCartesianToWGS84(
this._positions[0]
)

+ 1
- 1
modules/plot/edit/EditPoint.js Bestand weergeven

@@ -30,7 +30,7 @@ class EditPoint extends Edit {
*
* @private
*/
_stopdHook() {
_stopedHook() {
this._overlay.position = Transform.transformCartesianToWGS84(this._position)
this._overlay.show = true
this._options.onEditStop && this._options.onEditStop(this._overlay)

Laden…
Annuleren
Opslaan