Google Maps Directions API - Route Not Getting Plotted For More Than 8 Waypoints
I am trying to draw a route in my project using the Google Maps Directions API but it is not working with waypoints more than 8. var request = { origin: start,
Solution 1:
According to Google in this issue the 23 waypoints "extension" to 23 waypoints for free users only applies to the Directions API (the web service), not the Google Maps Javascript API v3 DirectionsService
- Web Services (Directions API, Distance Matrix API) both free users (API keys) and Maps for Work users (client ID + signature) have 23 waypoints
- JavaScript API (directions service, distance matrix service): free users (API keys) have 8 waypoints, Maps for Work users (client ID) have 23 waypoints.
Post a Comment for "Google Maps Directions API - Route Not Getting Plotted For More Than 8 Waypoints"