同一 GPS 位置(kml/google 地球)上只有一根图钉?
嘿,
我正在通过 Google Earth 中的 KML 开发某种带有 GPS 坐标的监控系统。两个或多个引脚位于完全相同的 GPS 位置的情况经常发生(因为 GPS 检测到的差异很小)。
有没有什么方法可以限制该位置只显示一个图钉,这样我点击时就不会得到花朵效果?
谢谢。
Hy,
I am developing some sort of monitoring system with GPS coordinates through KML in Google Earth. It happens a lot, that two or more pins are located in exactly the same GPS location (because of to small difference GPS to detect).
Is there any way to limit that only one pin is displayed on that location so I won't get that flower effect on click?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并不真地。如果您想阻止这种情况,则不应为已创建地标的位置创建地标。在这种情况下,额外的优点是您可以对任何名称/描述或其他内容进行分组,并将其作为一个名称/描述添加到您的一个地标中。这样,如果用户单击地标并弹出信息,它将告知用户那里的所有设备。
就我而言,我添加了一些逻辑,如果超过 10 个设备位于同一点,我将不再显示所有个人名称(列表太长,无法滚动),并添加了 [a nn user more] 类型的消息。
Not really. If you want to prevent it you should not create placemarks for locations that you already created one for. The extra advantage in that case is that you can group any names/descriptions or whatever and add that as one name/description to your one placemark. That way if the user clicks the placemark and the info pops up it will inform the user of all the devices that are there.
In my case I added some logic that if more than 10 devices were at the same point I would not show all the individual names anymore (too long list that won't scroll) and added a [a nn user more] type of message.