安卓 + KML +支持““至:”标签
我在从 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
与如何获取路线的 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.