limitation in drawing route using map api in iphone

348 Views Asked by At

i have used this link to draw route on map. I am using iOS 6 map view. but i think this is using google map api to draw route on map. when i drop 26th pins it gives me error.

I want to know is this a limitations from google map? What is role of way pointes and if i want to drop more than 25+ pins one by one then what should i do ? Can anyone provide me a link in which we can draw routes between more than 25 pins continuously? if not is there any other way ?

Error messege is : A direction request could not be successfully parsed. Error code 400

Plz help

2

There are 2 best solutions below

2
On

Sounds like that software is using the Google Maps API v2, which has a limitation of 25 waypoints. The Google Maps API v3 has a limitation of 10 waypoints (start, end and 8 waypoints) which can be increased to 25 with a Business license.

Also, FYI the Google Maps API v2 is deprecated, and may stop working as early as May 2013.

3
On

As i remember a limitation for request to google maps api is 250 per day for one application. I also remeber that google can stop responce when you send to many request for some part of time. Tell what string did you get from google maps api with this 26th point?