Before you ask please READ THIS

Google map not showing

Hi, I have tried so hard to fix this I really didn't want to ask!
The Google map is not showing in the contacts page, it says java script error.
From my efforts to get it working I am assuming it is to do with the api key?
I have created this but can't see where to insert it!
Please help

Comments

  • AirAir
    Posts: 10,970
    Hi there:-)

    I think it is same case as with our other theme. Use this topic as reference http://support.apollo13.eu/discussion/4144/map-issues-and-contact-page-questions#latest

    If you still won't be able to do it, I will write same instruction for Fame theme then :-)

    With kind regards.
  • edited August 2016 Posts: 3
    Hi, I still can't do it , I found the file you mentioned but can't see anything like the fix you mentioned! Please can you help
    image.jpg
    3264 x 2448 - 2M
    Post edited by martinthefloorman on
  • AirAir
    edited August 2016 Posts: 10,970
    Sure, where is good description for Fame theme:


    First go to https://developers.google.com/maps/documentation/javascript/get-api-key and click "Get a Key"
    When you will generate key for browser you have to add it like this:

    Go edit fame\parts\map.php line ~20

    and change <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>

    to <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY"></script>
    Change YOUR_API_KEY to your key.

    It worked for me.

    With kind regards.
    Post edited by Air on
  • edited August 2016 Posts: 3
    Thank you so much you're really awesome! Have a really great day :-)))))))))))))))))))))))
    Post edited by martinthefloorman on
  • AirAir
    Posts: 10,970
    Great it worked. Have a great day also ;-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!