FreewayTalk

3 replies to this thread. Most Recent

Jed Rotella

9 Jan 2019, 1:18 am

[Pro] Google Maps

Hello,

I need some help in getting the Google map action to work. The error message I am getting is “the geocode was not successful for the following reason REQUEST_DENIED.

Do I or do I not need an API Key? I believe I got the correct API key.

https://westhillgolfcourse.com/contact1.html there is a map on the map page in the blue box but does not show.

Thanks, Jed

https://westhillgolfcourse.com/contact1.html

Noel Sergeant

13 Jan 2019, 12:22 pm

I’m having the same problem, have you managed to resolve it?

Jed Rotella

13 Jan 2019, 4:44 pm

Good Morning Noel,

No I have not. I have been emailing Softpress back and forth but we have not solved the problem. This is what I have so far. 1-In google maps action I have to put Longitude and latitude in manually it will not generate the correct address on its own. It stays at Oxford England. 2- With my longitude and latitude entered manually and my API key the map shows and works fine when I preview in browser. When I upload to my site there is nothing in the space on the page. There should be my map in the gray box at https://westhillgolfcourse.com/contact.html#nil

Thanks, Jed

Back to Top

Ian Halstead

16 Jan 2019, 9:18 pm

I think it might be an https problem. A website using an SSL certificate won’t show anything that links to an external non-SSL source. The Google Maps action outputs the links as http links, not https.

Check that this is the case by manually altering the link on the page on the server. You can do a search in TextEdit or similar for ‘http’ on the html output for the page and it should find any links that need changing. If the map appears after a change then this is the problem.

It is possible to go into the actual action file and get the code within to always output https links. If you don’t want to do this, there is an https helper action that does this on html output from Freeway.

http://www.actionsforge.com/actions/https-helper