Skip to content

Commit

Permalink
docs(docs): 📝 updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zouyaoji committed Jun 7, 2023
1 parent 53d5df8 commit 7cd0496
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 12 deletions.
8 changes: 4 additions & 4 deletions website/docs/en-US/analyses/vc-analyses.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!--
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2022-01-06 11:30:01
* @LastEditTime: 2022-03-09 09:46:56
* @LastEditors: zouyaoji
* @LastEditTime: 2023-06-07 11:19:33
* @LastEditors: zouyaoji [email protected]
* @Description:
* @FilePath: \vue-cesium@next\website\docs\en-US\analyses\vc-analyses.md
* @FilePath: \vue-cesium\website\docs\en-US\analyses\vc-analyses.md
-->

## VcAnalyses
Expand Down Expand Up @@ -200,7 +200,7 @@ The parameter configuration of each drawing result is too long to list here. If
| editorEvt | (evt: VcDrawingEditorEvt, viewer: Cesium.Viewer) | Triggers when the editor button is clicked. |
| mouseEvt | (evt: VcDrawingMouseEvt, viewer: Cesium.Viewer) | Triggers when the mouse is mouse over or mouse out on the drawing point. |
| fabUpdated | (value: boolean) | Triggers when the floating button is expanded or collapsed. |
| onClearEvt | (evt: object, viewer: Cesium.Viewer) | Triggers when the clear button is clicked. |
| clearEvt | (evt: object, viewer: Cesium.Viewer) | Triggers when the clear button is clicked. |

### Methods

Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/analyses/vc-drawings.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ The parameter configuration of each drawing result is too long to list here. If
| editorEvt | (evt: VcDrawingEditorEvt, viewer: Cesium.Viewer) | Triggers when the edit button is clicked. |
| mouseEvt | (evt: VcDrawingMouseEvt, viewer: Cesium.Viewer) | Triggers when the mouse is mouse over or mouse out on the drawing point. |
| fabUpdated | (value: boolean) | Triggers when the floating button is expanded or collapsed. |
| onClearEvt | (evt: object, viewer: Cesium.Viewer) | Triggers when the clear button is clicked. |
| clearEvt | (evt: object, viewer: Cesium.Viewer) | Triggers when the clear button is clicked. |

### Methods

Expand Down
2 changes: 1 addition & 1 deletion website/docs/en-US/analyses/vc-measurements.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ The parameter configuration of each drawing result is too long to list here. If
| editorEvt | (evt: VcDrawingEditorEvt, viewer: Cesium.Viewer) | Triggers when the edit button is clicked. |
| mouseEvt | (evt: VcDrawingMouseEvt, viewer: Cesium.Viewer) | Triggers when the mouse is mouse over or mouse out on the drawing point. |
| fabUpdated | (value: boolean) | Triggers when the floating button is expanded or collapsed. |
| onClearEvt | (evt: object, viewer: Cesium.Viewer) | Triggers when the clear button is clicked. |
| clearEvt | (evt: object, viewer: Cesium.Viewer) | Triggers when the clear button is clicked. |

### Methods

Expand Down
8 changes: 4 additions & 4 deletions website/docs/zh-CN/analyses/vc-analyses.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!--
* @Author: zouyaoji@https://github.com/zouyaoji
* @Date: 2022-01-06 11:30:01
* @LastEditTime: 2023-02-10 09:38:38
* @LastEditors: XIAOLIJUN
* @LastEditTime: 2023-06-07 11:19:50
* @LastEditors: zouyaoji [email protected]
* @Description:
* @FilePath: \vue-cesium@next\website\docs\zh-CN\analyses\vc-analyses.md
* @FilePath: \vue-cesium\website\docs\zh-CN\analyses\vc-analyses.md
-->

## VcAnalyses
Expand Down Expand Up @@ -196,7 +196,7 @@
| editorEvt | (evt: VcDrawingEditorEvt, viewer: Cesium.Viewer) | 点击编辑按钮时触发。 |
| mouseEvt | (evt: VcDrawingMouseEvt, viewer: Cesium.Viewer) | 鼠标移进、移出绘制点时触发。 |
| fabUpdated | (value: boolean) | 浮动按钮展开、收拢时触发。 |
| onClearEvt | (evt: object, viewer: Cesium.Viewer) | 清除绘制时触发。 |
| clearEvt | (evt: object, viewer: Cesium.Viewer) | 清除绘制时触发。 |

### 方法

Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh-CN/analyses/vc-drawings.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ ctrl + 右键取消绘制。
| editorEvt | (evt: VcDrawingEditorEvt, viewer: Cesium.Viewer) | 点击编辑按钮时触发。 |
| mouseEvt | (evt: VcDrawingMouseEvt, viewer: Cesium.Viewer) | 鼠标移进、移除绘制点时触发。 |
| fabUpdated | (value: boolean) | 浮动按钮展开、收拢时触发。 |
| onClearEvt | (evt: object, viewer: Cesium.Viewer) | 清除绘制时触发。 |
| clearEvt | (evt: object, viewer: Cesium.Viewer) | 清除绘制时触发。 |

### 方法

Expand Down
6 changes: 5 additions & 1 deletion website/docs/zh-CN/analyses/vc-measurements.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ ctrl + 右键取消绘制。
@ready="drawingsReadyDefault"
:point-measurement-opts="pointMeasurementOpts"
:area-measurement-opts="areaMeasurementOpts"
@clear-evt="clearEvt"
>
</vc-measurements>
<!-- 修改加载的量算实例 -->
Expand Down Expand Up @@ -247,6 +248,9 @@ ctrl + 右键取消绘制。
}
}
},
clearEvt(e, viewer) {
console.log(e, viewer)
},
unload() {
this.$refs.measurementsRef.unload()
},
Expand Down Expand Up @@ -381,7 +385,7 @@ ctrl + 右键取消绘制。
| editorEvt | (evt: VcDrawingEditorEvt, viewer: Cesium.Viewer) | 点击编辑按钮时触发。 |
| mouseEvt | (evt: VcDrawingMouseEvt, viewer: Cesium.Viewer) | 鼠标移进、移除绘制点时触发。 |
| fabUpdated | (value: boolean) | 浮动按钮展开、收拢时触发。 |
| onClearEvt | (evt: object, viewer: Cesium.Viewer) | 清除绘制时触发。 |
| clearEvt | (evt: object, viewer: Cesium.Viewer) | 清除绘制时触发。 |

### 方法

Expand Down

0 comments on commit 7cd0496

Please sign in to comment.