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,
destination: end,
waypoints: waypts,
optimizeWaypoints: true,
travelMode: google.maps.TravelMode.DRIVING,
key: "our-api-key"
}
https://developers.google.com/maps/documentation/directions/usage-limits
As mentioned in the the usage limits page, we are passing our API key in the request and also have billing enabled with our account. But it is only working for routes less than 8 waypoints. What could I be doing wrong?