# Google API Keys

For the StoreLocator to work, two GoogleAPI Keys must be created.

WARNING

Make sure that your shop is SSL encrypted, e.g. accessible at https://www.meinsupershop.de.

  • Create your own account at https://console.developers.google.com/ (opens new window)
  • Create, if not already done, a new project.
  • Make sure that the project has a billing account - without a validated billing account you cannot use the GoogleService. You will receive a monthly quota - this should be sufficient for most normal use cases.
  • Under "Products > API & Services" select Library
  • Search and activate the following APIs & Services:
    • Maps JavaScript API
    • Geocoding API
    • Places API
    • Time Zone API
  • Under "Products > API & Services" select "Credentials".
  • Create an API key here and click on "Restrict key".
  • In the form give the name e.g. "Maps Geocoding API Key".
  • Under API Restrictions select "Restrict Key" and search for and activate:
    • Geocoding API
    • Places API
    • Time Zone API

TIP

Restrict this key exclusively to the IP address of the server.

  • Click on save.
  • Enter the API key in the plugin configuration of StoreLocator in the field "Google Maps Geocoding".
  • Create a second API key and click on "Restrict key".
  • In the form give the name e.g. "Maps JavaScript API Key".
  • Under Application Restrictions, select HTTP Reference and enter the URLs of the shop on which the StoreLocator is called. Multiple URLs can also be stored. Example, yours is available at www.meinsupershop.de, then enter "www.meinsupershop.de/*" here.
  • Under API Restrictions select "Restrict Key" and search for and activate:
    • Maps JavaScript API
    • Places API
  • Click on save.
  • Enter this API key in the plugin configuration of StoreLocator in the field "Google Maps JavaScript API Key".
  • Save the plugin configuration and delete the cache in any case.

# Example configuration for Maps Geocoding API Key:

Maps Geocoding API Key

# Example configuration for Maps JavaScript API Key:

Maps JavaScript API Key