| 
                        123456789101112131415161718192021222324252627282930313233 | 
                        - /**
 -  * @Author: Caven
 -  * @Date: 2020-08-30 23:46:07
 -  */
 - 
 - import { Cesium } from '@dc-modules/namespace'
 - import Edit from './Edit'
 - import GatheringPlaceGraphics from '../graphics/GatheringPlaceGraphics'
 - 
 - class EditGatheringPlace extends Edit {
 -   constructor(overlay) {
 -     super(overlay)
 -     this._graphics = new GatheringPlaceGraphics()
 -   }
 - 
 -   /**
 -    *
 -    * @private
 -    */
 -   _mountedHook() {
 -     this._delegate.polygon.hierarchy = new Cesium.CallbackProperty(() => {
 -       if (this._positions.length > 1) {
 -         this._graphics.positions = this._positions
 -         return this._graphics.hierarchy
 -       } else {
 -         return null
 -       }
 -     }, false)
 -     this._layer.entities.add(this._delegate)
 -   }
 - }
 - 
 - export default EditGatheringPlace
 
 
  |