Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Enterprise App
>
GIS/Map/Navigation/Positioning
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
119
Star
1.2K
Fork
301
火星科技
/
Mars3D三维可视化平台
Code
Issues
0
Pull Requests
0
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
体积计算方法measure.volume,在传参直接调用时会触发两次计算
已关闭
#I9F6PQ
Bug
zuopt
Opened this issue
2024-04-09 15:35
## 版本信息  ## 相关链接 http://mars3d.cn/editor-vue.html?key=ex_9_0_4&id=thing/analysis/measure-volume-depth ## 问题内容 在体积计算的官方示例中,初始化地图后,采用setTimeout调用了体积计算的方法。这次调用触发了两次计算。在控制台打印了两次结果,而手动绘制的计算只会触发一次。   如上图,控制台打印了两次分析过程。 手动绘制只会有一次。 ## 重现步骤 官方示例:http://mars3d.cn/editor-vue.html?key=ex_9_0_4&id=thing/analysis/measure-volume-depth 直接打开控制台看输出即可发现。 ## 实际结果 计算整个过程调用了两次 ## 期望结果 计算整个过程应该调用一次
## 版本信息  ## 相关链接 http://mars3d.cn/editor-vue.html?key=ex_9_0_4&id=thing/analysis/measure-volume-depth ## 问题内容 在体积计算的官方示例中,初始化地图后,采用setTimeout调用了体积计算的方法。这次调用触发了两次计算。在控制台打印了两次结果,而手动绘制的计算只会触发一次。   如上图,控制台打印了两次分析过程。 手动绘制只会有一次。 ## 重现步骤 官方示例:http://mars3d.cn/editor-vue.html?key=ex_9_0_4&id=thing/analysis/measure-volume-depth 直接打开控制台看输出即可发现。 ## 实际结果 计算整个过程调用了两次 ## 期望结果 计算整个过程应该调用一次
Comments (
2
)
Sign in
to comment
Status
已关闭
新建
等待沟通
已解决
处理中
延期处理
已关闭
Assignees
Not set
棉棉
mianmianwu96
Assignee
Collaborator
+Assign
+Mention
Labels
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
JavaScript
1
https://gitee.com/marsgis/mars3d.git
git@gitee.com:marsgis/mars3d.git
marsgis
mars3d
Mars3D三维可视化平台
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register