安卓 + KML +支持““至:”标签

发布于 2024-10-12 00:08:33 字数 1230 浏览 4 评论 0原文

我在从 Google 地图获取路线信息时遇到一些问题,

我使用以下网址来获取完整的路线信息。查询包含中间目的地点 http://maps.google.com /maps?f=d&hl=en&saddr=45.414569,-75.707324&daddr=45.430579,-75.686953+到:45.436207,-75.684726+到:45.434764,-75.683417+到:45.4341 5、-75.682838+至:45.429996 ,-75.683098&ie=UTF8&om=0&dirflg=w&output=kml

这给了我一个 kml 文件,但 kml 文件仅包含直到第一个目的地点的路线坐标,并且不再包含,但是如果我删除输出参数,谷歌地图绘制“+to:”子句中提到的所有目的地 http://maps.google.com/maps?f =d&hl=en&saddr=45.414569,-75.707324&daddr=45.430579,-75.686953+到:45.436207,-75.684726+到:45.434764,-75.683417+到:45.43415,-7 5.682838+至:45.429996,-75.683098& ;ie=UTF8&om=0&dirflg=w

如何获取 KML 中的所有路线坐标,包括所有中间目的地

谢谢 苏里亚

I am facing a bit of problem with getting the route information from Google maps

I use the following url to get the complete route info. The query contains intermediate destination points
http://maps.google.com/maps?f=d&hl=en&saddr=45.414569,-75.707324&daddr=45.430579,-75.686953+to:45.436207,-75.684726+to:45.434764,-75.683417+to:45.43415,-75.682838+to:45.429996,-75.683098&ie=UTF8&om=0&dirflg=w&output=kml

This gives me back a kml file but the kml file contains route coordinates only till the first destination point and no futher however if i remove the output parameter, the google map draws all the destinations mentioned in the "+to:" clause
http://maps.google.com/maps?f=d&hl=en&saddr=45.414569,-75.707324&daddr=45.430579,-75.686953+to:45.436207,-75.684726+to:45.434764,-75.683417+to:45.43415,-75.682838+to:45.429996,-75.683098&ie=UTF8&om=0&dirflg=w

How to get all the route coordinates in KML including all the intermediate destination points

Thanks
surya

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

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

发布评论

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

评论(1

岛徒 2024-10-19 00:08:33

如何获取路线的 KML 相同的问题路径点?

底线:多步路由仅在谷歌地图内部受支持,而不是通过下载的kml。

Same question as How to get KML of route with waypoints?

Bottomline: multistep routing is only supported inside google maps and not through the downloaded kml.

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