Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个代码可以创建一个包含一些信息的 kml 文件。当我传递这些信息时,我也会将纬度、经度和高度传递给我的对象,然后,方法 object.setCoordinates(coordinate) 会捕获纬度、长度。和替代。来自我的对象,但是当我尝试在 Google 地球中打开我的文件时,它会在海洋中间打开,因为在 xml 中,坐标是 0.0, 0.0 , 0.0 。有人能帮我吗?我查看代码并没有发现任何问题或错误。
似乎您的原始源中必须有一些缺失的数据集为零,或者您传输它的方式有错误。
我认为我们需要更多信息。
鲍勃·J。
顺便说一句 lat=0 和 Long = 0 是尼日利亚沿海的一个地方