Okay
  Print

How to add the Google Map API in the HTML theme

Google Maps have recently changed their policy and API key is now required to make the map work.

1. Generate the API key following this link https://developers.google.com/maps/documentation/javascript/get-api-key?hl=en

2. Open pages-contact-us.html file (the page containing the map) and replace this piece of code:

<script type="text/javascript" src="hhttp://maps.google.com/maps/api/js?sensor=false"></script>

with:

<script type="text/javascript" src="http://maps.google.com/maps/api/js?key=********************"></script>

where ******************** is your Google Map API key.

3. With that done, please save the file and you will see the map working on the site.