KML 区域形状
我在 Google 代码页面上找到了如何创建框区域(http://code.google.com/apis/kml/documentation/regions.html)。不过我想弄清楚是否可以轻松地制作一个圆形区域。基本上我有一个地标,我想要它周围的某个区域用阴影圆圈突出显示。
谢谢
I have found on Google Code page how to create box regions (http://code.google.com/apis/kml/documentation/regions.html). However I am trying to figure out if I can make a circular region easily. Basically I have a placemark and I want a certain area around it highlighted with a shaded circle.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你想要多边形。区域定义了某些东西何时可见或加载,它不是几何体。然而,KML 中没有圆基元。您必须通过制作一个许多顶点靠近的多边形来制作一个圆。
You want Polygons instead. A Region defines when something is visible or loaded, it's not a geometry. There is no circle primitive in KML, however. You would have to make a circle by making a polygon with many vertices close together.