As of June 22, 2016 Google Maps announced it will start requiring an API key for all websites using their Google Maps API. Storemapper works with the Google Maps API to ensure your customers get the best possible map experience so you may need to get an API key. The good news is that is free, takes just a few minutes and requires no coding. Here are the steps to registering a new Google Maps API key.
The first thing to do is open this page in Google in a new tab then follow the instructions below.
Step 1: Click ‘Get a Key’ making sure you are under the ‘standard API’ section
Step 2: Make sure you are logged into the right Google account and click Continue
Step 3: Name the project anything you like.
OPTIONAL BUT A GOOD IDEA: You may want to limit your API key to just your site. In case you can fill in the second field with *.yourwebsite.com/*
Make sure to copy the asterisks and slashes exactly. If you have multiple domains, add them the same way with commas in between.
Step 4: Copy your newly generated API key
If you already have a Storemapper account you can add your API key to your store locator here in Storemapper.
Step 5: Ensure needed APIs are enabled
Now you need to ensure you have required APIs enabled. Navigate to your APIs Management dashboard and check if you have below APIs:
- Google Maps Geocoding API
- Google Maps Geolocation API
If not, you’ll need to add them. So, press ‘Enable API’
In the search field start typing the name of the API and Google will display the list.
Click on the API item and you’ll be navigated to the screen where you can read about it and enable. Press ‘Enable’ and you’re done.
Repeat the same steps with all mentioned APIs that are required for Storemapper
Lastly, if you had already installed Storemapper (before July 2016) you will need to re-copy your embed code from the Storemapper dashboard and replace the embed code currently on your site. We try to avoid this as much as possible but in this case it’s the only way. Thanks!