Page 1 of 1

No route could be found between the origin and destination.

Posted: 28 Jul 2017, 20:16
by birdwaves
I've had problems getting google maps to work using other joomla plugins on my site since we enabled SSL. Then I found this Phoca component, and I've made a lot more progress. However I can't get the Directions service working.
I get the error: "No route could be found between the origin and destination."

Javascript console reports:

"Directions Service: This API project is not authorized to use this API. Please ensure this API is activated in the Google Developers Console: https://console.developers.google.com/a ... d?project=_ For more information on authentication and Google Maps Javascript API services please see: https://developers.google.com/maps/docu ... et-api-key"

In another post here, someone had this error and fixed it:
"Update:
I did some more research and trouble shooting. I enabled JAVA logging and noticed that the API was failing at authenticating at google side to get the route.
I then enable the option to allow routes to be granted from the browser.
Once I did that, I was able to get the routes. Awesome. I hope this helps others for the same problem."

Where is this option to "allow routes to be granted from the browser"?

Thanks for your help.

Re: No route could be found between the origin and destination.

Posted: 28 Jul 2017, 23:50
by christine
Hi birdwaves,

See here please:
https://www.phoca.cz/documents/53-phoca ... ps-api-key
http://www.reisefotografien.eu/phoca-be ... -erstellen

"No route could be found between the origin and destination." you have to activate also: Google Maps Directions API

Kind regards, Christine

Re: No route could be found between the origin and destination.

Posted: 02 Aug 2017, 20:09
by birdwaves
Excellent! It's fixed now.
I didn't realize there were other Google Maps API's to enable, besides the Javascript API.
Thanks for your help!

Re: No route could be found between the origin and destination.

Posted: 03 Aug 2017, 10:35
by christine
Hi birdwaves,

Thank you for your feedback!

Kind regards, Christine