No route could be found between the origin and destination.
Posted: 28 Jul 2017, 20:16
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.
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.