如何在KML URL上传递多个Lat和Long?

时间:2011-12-31 05:24:29

标签: android google-maps kml latitude-longitude

1 lat和Long 我们可以传递这样的URL:

http://maps.google.com/maps?f=d&hl=en&saddr=23.08136,72.572849&daddr=22.942071,72.379461&ie=UTF8&0&om=0&output=kml

但我想在此网址上传递多个Lat和Long。 例如:

http://maps.google.com/maps?f=d&hl=en&saddr=23.08136,72.572849&daddr=22.942071,72.379461&
saddr=23.052850,72.525930&daddr=22.986080,72.394280&ie=UTF8&0&om=0&output=kml

那么我们如何在Google地图网址上传递多个Lat和Long?

1 个答案:

答案 0 :(得分:0)

output = kml不是官方记录的从Google获取数据的方式。如果您希望获得行车路线,则应使用Google行车路线网络服务: http://code.google.com/apis/maps/documentation/directions/