修改视域默认值

This commit is contained in:
2025-11-14 10:59:13 +08:00
parent f1171f5e32
commit 25af7f1d02
3 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class ViewShedStage extends Tools {
this.options = {}
this.options.viewPosition = options.viewPosition;
this.options.viewPositionEnd = options.viewPositionEnd;
this.options.horizontalViewAngle = (options.horizontalViewAngle || options.horizontalViewAngle === 0) ? options.horizontalViewAngle : 30.0;
this.options.horizontalViewAngle = (options.horizontalViewAngle || options.horizontalViewAngle === 0) ? options.horizontalViewAngle : 90.0;
this.options.verticalViewAngle = (options.verticalViewAngle || options.verticalViewAngle === 0) ? options.verticalViewAngle : 60.0;
this.options.visibleAreaColor = options.visibleAreaColor || '#008000';
this.options.invisibleAreaColor = options.invisibleAreaColor || '#FF0000';

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

BIN
static/img/cross_black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB