谷歌地图航点问题 [英] google map waypoints issue

查看:165
本文介绍了谷歌地图航点问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Google Map Directions Service获取路线

I''m trying to get route using google map directions service

Uri uri = new Uri("http://maps.googleapis.com/maps/api/directions/xml?origin=adrori&destination=adrdest&waypoints=adr1|adr2|....|adr8&sensor=false");
                  HttpWebRequest httpRequest = (HttpWebRequest)HttpWebRequest.Create(uri);
                  HttpWebResponse httpResponse = (HttpWebResponse)httpRequest.GetResponse();


并将结果放入xml文件中.
解析xml文件并获取路径后,我向Google静态地图发送onother请求以在Windows Mobile 6应用程序中显示路径.
一切正常,但我找不到在请求中使用8个以上航路点的方法.


and put the result in xml file.
After parsing the xml file and getting the path, i send onother request to google static map to display the path in a windows mobile 6 application.
Every thing works fine but i can''t find a way to use more than 8 waypoints in the request.
Any help please?

推荐答案

免费版本的Google地图最多只允许8个中间航路点.
如果航点超过8个,则Google将返回 MAX_WAYPOINTS_EXCEEDED 状态.

请参阅下面的URL,以了解Google地图的更多使用限制.
https://developers.google.com/maps/documentation/directions/?hl=no#Limits

谢谢
Free version of google maps only allow upto 8 intermediate waypoint.
If waypoint exceeds more than 8 then google will return MAX_WAYPOINTS_EXCEEDED status.

Please refer below URL for more usage restriction of Google maps.
https://developers.google.com/maps/documentation/directions/?hl=no#Limits

Thanks


这篇关于谷歌地图航点问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆