多边形的不透明度

发布于 2025-01-06 19:55:27 字数 206 浏览 5 评论 0原文

我在海拔高度创建了一个带有 .kml 文件的多边形来表示 3D 空域,并将不透明度设置为 17%。到目前为止看起来很棒。然后,我在高空创建了一条路径来表示穿过空域的飞行路径,并将不透明度设置为 100%。我可以通过多边形看到地形,但无法看到通过多边形的路径,即使路径设置为 100% 不透明度也是如此。我认为我应该能够看到 17% 不透明度背后的 100% 不透明度。什么给?

此致

I have created a polygon with a .kml file at altitude to represent 3D airspace, and have set the opacity at 17%. So far it looks great. Then I created a path at altitude to represent a flight path through the airpace and set that opacity at 100%. I can see the terrain through the polygon, but I cannot see the path through the polygon, even though the path is set to 100% opacity. I would think that I should be able to see 100% opacity behind 17% opacity. What gives?

Best Regards

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我三岁 2025-01-13 19:55:27

我不确定这是否适用于多边形,但我认为它会起作用。考虑使用

  <gx:drawOrder>

http://code.google.com/apis/kml/articles/绘图顺序.html

I am not sure if this applies to polygons, but I presume it will work. Look into using

  <gx:drawOrder>

http://code.google.com/apis/kml/articles/draworder.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文