Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
flywin8 committed Feb 15, 2023
1 parent eb446c8 commit 277a908
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
1 change: 1 addition & 0 deletions website/docs/en-US/analyses/vc-analyses.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ Basic usage of drawing components.
| activeColor | string | `'positive'` | `optional` Specify the color when the analysis instance is activated. |
| editable | boolean | `false` | `optional` Specify whether the analysis result can be edited. |
| mainFabOpts | VcActionTooltipProps & VcFabProps | | `optional` Specify the style options of the floating action button of the VcAnalyses component. |
| fabActionOpts | VcActionTooltipProps | | `optional` Specifies the common style options for the other parse buttons。 |
| sightlineActionOpts | VcActionTooltipProps | | `optional` Specify the style options of the sightline analysis action button.|
| sightlineAnalysisOpts | VcDrawingOpts | | `optional` Specify sightline analysis options.|
| viewshedActionOpts | VcActionTooltipProps | | `optional` Specify the style options of the viewshed analysis action button.|
Expand Down
6 changes: 5 additions & 1 deletion website/docs/en-US/analyses/vc-drawings.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ Basic usage of drawing components.
preRenderDatas: [
[108.96018, 34.21948, 50],
[108.9602, 34.21895, 100]
]
],
pointOpts: {
color: 'red',
}
},
polygonDrawingOpts: {
preRenderDatas: [
Expand Down Expand Up @@ -237,6 +240,7 @@ Basic usage of drawing components.
| editable | boolean | `false` | `optional` Specify whether the drawing result can be edited. |
| clampToGround | boolean | `false` | `optional` Specify whether the drawing result object is attached to the ground or 3dtiles. Only line and area objects work. |
| mainFabOpts | VcActionTooltipProps & VcFabProps | | `optional` Specify the style options of the floating action button of the drawing component. |
| fabActionOpts | VcActionTooltipProps | | `optional` Specifies the common style options for the other parse buttons。 |
| pinActionOpts | VcActionTooltipProps | | `optional` Specify the style options of the pin drawing action button.|
| pinDrawingOpts | VcDrawingOpts | | `optional` Specify pin drawing options.|
| pointActionOpts | VcActionTooltipProps | | `optional` Specify the style options of the poingt drawing action button.|
Expand Down
6 changes: 5 additions & 1 deletion website/docs/en-US/analyses/vc-measurements.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ Basic usage of measurement components.
}
},
pointMeasurementOpts: {
preRenderDatas: [[108.9602, 34.21895, 500]]
preRenderDatas: [[108.9602, 34.21895, 500]],
pointOpts: {
color: 'red',
}
},
areaMeasurementOpts: {
preRenderDatas: [
Expand Down Expand Up @@ -273,6 +276,7 @@ Basic usage of measurement components.
| activeColor | string | `'positive'` | `optional` Specify the color when the measurement instance is activated. |
| editable | boolean | `false` | `optional` Specify whether the measurement result can be edited. |
| mainFabOpts | VcActionTooltipProps & VcFabProps | | `optional` Specify the style options of the floating action button of the measuring component. |
| fabActionOpts | VcActionTooltipProps | | `optional` Specifies the common style options for the other parse buttons。 |
| distanceActionOpts | VcActionTooltipProps | | `optional` Specify the style options of the distance measurement action button.|
| distanceMeasurementOpts | VcMeasurementOpts | | `optional` Specify distance measurement options.|
| componentDistanceActionOpts | VcActionTooltipProps | | `optional` Specify the style options of the component distance measurement action button.|
Expand Down
3 changes: 0 additions & 3 deletions website/docs/zh-CN/analyses/vc-drawings.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,7 @@ ctrl + 右键取消绘制。
[108.9602, 34.21895, 100]
],
pointOpts: {
show: true,
color: 'red',
pixelSize: 8,
enableMouseEvent: true,
onClick(e) {
console.log(e)
}
Expand Down
5 changes: 4 additions & 1 deletion website/docs/zh-CN/analyses/vc-measurements.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ ctrl + 右键取消绘制。
}
},
pointMeasurementOpts: {
preRenderDatas: [[108.9602, 34.21895, 500]]
preRenderDatas: [[108.9602, 34.21895, 500]],
pointOpts: {
color: 'red',
}
},
areaMeasurementOpts: {
preRenderDatas: [
Expand Down

0 comments on commit 277a908

Please sign in to comment.