How to Input a Maps API Key for GMap
Drupal is an open-source application which allows users to create complex data-driven websites. If you want to embed Google Maps into a site powered by Drupal, you need to install a specific add-on for it, such as GMap. To work properly, GMap needs a Google Maps Application Programming Interface (API) key, which you can obtain from Google. To properly set up GMap by using your Google Maps API key, you need to input it in two different locations inside your administration panel.
Instructions
-
-
1
Log into the administration panel of your Drupal site by using your Internet browser.
-
2
Click "Site configuration" in the left column and select "GMap."
-
-
3
Enter your API key in the "Google Maps API Key" field and click "Save."
-
4
Click "Site configuration" in the left column and select "Location." Open the "Geocoding options" tab and click the radio button next to "Enable Google Maps" under the name of the country you wish to set as your server's location.
-
5
Select "Configure parameters" in the right column. Enter your Google Maps API key and click "Save."
-
1
Tips & Warnings
If you do not already have a Google Maps API key, you can obtain one by visiting code.google.com.