Reputation: 767
I'm using google directions in order to get a route with waypoints. I have the name of the waypoints from an previous call to the Places Api. The problem is that if I make this call:
it returns a route. But if Cluj-Napoca National Theatre is added to waypoints and the call looks like this:
it doesn't work. The response has no results. {
"routes" : [],
"status" : "ZERO_RESULTS"
}
Can anyone please help me understand why isn't this working? Ps: with Cluj-Napoca+International+Airport,RO added instead of Cluj-Napoca+National+Theatre,RO waypoint it works.
Upvotes: 3
Views: 812
Reputation: 2095
You can try adding the coordinates of the waypoint, instead of adding the name of them.
Upvotes: 5