|
@@ -781,6 +781,7 @@ Object.assign(CommonTools.prototype, {
|
|
this._tooltipInit('点击开始绘制区域');
|
|
this._tooltipInit('点击开始绘制区域');
|
|
/* 调用草图开始绘制 */
|
|
/* 调用草图开始绘制 */
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Polygon, {
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Polygon, {
|
|
|
|
+ isEdit: true,
|
|
/**
|
|
/**
|
|
* 移动回调
|
|
* 移动回调
|
|
* @param {Cesium.Cartesian3} cPoint
|
|
* @param {Cesium.Cartesian3} cPoint
|
|
@@ -910,6 +911,7 @@ Object.assign(CommonTools.prototype, {
|
|
this._tooltipInit('点击开始绘制线');
|
|
this._tooltipInit('点击开始绘制线');
|
|
/* 调用草图开始绘制 */
|
|
/* 调用草图开始绘制 */
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Line, {
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Line, {
|
|
|
|
+ isEdit: true,
|
|
/**
|
|
/**
|
|
* 添加点回调
|
|
* 添加点回调
|
|
* @param {Array<JSON>} cPoints 世界坐标系点集合
|
|
* @param {Array<JSON>} cPoints 世界坐标系点集合
|
|
@@ -962,6 +964,7 @@ Object.assign(CommonTools.prototype, {
|
|
this._tooltipInit('点击开始绘制圆');
|
|
this._tooltipInit('点击开始绘制圆');
|
|
/* 调用草图开始绘制 */
|
|
/* 调用草图开始绘制 */
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Circle, {
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Circle, {
|
|
|
|
+ isEdit: true,
|
|
/**
|
|
/**
|
|
* 添加回调
|
|
* 添加回调
|
|
* @param {JSON} center 中心点
|
|
* @param {JSON} center 中心点
|
|
@@ -999,6 +1002,7 @@ Object.assign(CommonTools.prototype, {
|
|
this._tooltipInit('点击开始绘制矩形');
|
|
this._tooltipInit('点击开始绘制矩形');
|
|
/* 调用草图开始绘制 */
|
|
/* 调用草图开始绘制 */
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Rectangle, {
|
|
this._sketchViewModel.sketchTools(SketchViewModel.SketchType.Rectangle, {
|
|
|
|
+ isEdit: true,
|
|
/**
|
|
/**
|
|
* 添加回调
|
|
* 添加回调
|
|
* @param {JSON} center 中心点
|
|
* @param {JSON} center 中心点
|