Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Maps API [Directions API] Waypoints limitation?

Documentation says that waypoints limit is 8 points. But I have to draw a line with more than 8 waypoints. How to do that?

like image 252
vale4674 Avatar asked Dec 11 '10 20:12

vale4674


1 Answers

The Google Maps Api V3 says:

MAX_WAYPOINTS_EXCEEDED indicates that too many DirectionsWaypoints were provided in the DirectionsRequest. The maximum allowed waypoints is 8, plus the origin, and destination. Maps API Premier customers are allowed 23 waypoints, plus the origin, and destination.

You can go for API Premier but i guess it will cost you about 10.000$ a year

like image 130
Flov Avatar answered Oct 06 '22 07:10

Flov