mirror of
https://github.com/Archeb/opentrace.git
synced 2026-04-26 01:05:55 +03:00
[GH-ISSUE #16] [BUG] 使用没有 UI 的 Google Map #15
Labels
No labels
bug
enhancement
help wanted
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentrace#15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @People-11 on GitHub (Jun 6, 2023).
Original GitHub issue: https://github.com/Archeb/opentrace/issues/16
Describe the bug 描述你遇到的BUG
因为目前使用的 Google Map 有不必要的按钮,所以我就想把程序内置的 geo-devrel-javascript-samples.web.app/samples/map-simple/app/dist/ 换成 geo-devrel-javascript-samples.web.app/samples/control-disableUI/app/dist/ 。这个地图在浏览器上正常打开,但是在 OpenTrace 的源码里替换后,OpenTrace 无法打开,详见 github.com/People-11/opentrace/actions/runs/5184433346
To Reproduce 复现方法
Screenshots (If applicable) 截图(如果有)
Environment 使用环境
Additional context 补充说明
@Archeb commented on GitHub (Jun 6, 2023):
这不是正确的修改方式,因为 OpenTrace 在开始每次追踪前会重置地图;而此时地图的样式由 OpenTrace 重置时传入的参数决定,与原网页中写的初始化代码无关。
禁用默认 UI 已在
5eeabbd223中实现,感谢您的建议。