/** @Author: 苹果园dog
* @Date: 2021-01-09 16:17:38
* @LastEditTime: 2021-01-09 19:55:57
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \code\bayannaoer.web.vue\src\commonUtil\CesiumMeasure.js*/import cesiumMeasureUtil from'../utils/commonUtil/cesiumMeasureUtil';/**
* 绘制折线
* @param {*} viewer
* @param {*} options*/
functionDrawPolyLine(viewer, options) {this.viewer =viewer;this.ismeare = options.ismeare || false;this.positions =[];this.poly = null;this.tooltip = document.getElementById(options.toolTip || "toolTip");this.cartesian = null;this.floatingPoint = null;this.mouseHandler = null;this.onCompleted =options.onCompleted;this._pointLabels =[];this._totalLengthPointLabel =undefined;
}/**
* 清除绘制*/DrawPolyLine.prototype.clea