Navigation:  Installing >

Google Maps API

Print this Topic Previous pageReturn to chapter overviewNext page

Embed Google Maps into your Results Details page....

 

Starting with v3.1, you now have the option to turn on Google Maps API.  The Google Maps API has the ability to embed an interactive map right into the details page of a record.  No need for your website visitors to click a link and be taken to the google site directly.

 

Getting your key...

In order to utilize the google maps api service, you must visit google's website and signup for a new key.  It's very easy and only takes 1 minute of your time, but Google requires you to have a special custom key that is tied in with your domain name.

You must visit the following web page to get your own api key...

http://www.google.com/apis/maps/signup.html

 

Once you get to the above page you  will need to agree to the terms and conditions, and then type in your domain name into the box.

 

After clicking the button, google will return a very long api key.

You will need to copy this key and paste it into your locator's /include/googlemapsapi.php file.

 


 

Copying the key into your googlemapsapi.php file...

You will need to open the /locator/include/googlemapsapi.php file in a text editor.  On line # 7, you will see a place that looks like...

 

You will need to paste your login api key that google has assigned you into line #7, between the two apostrophe characters.  (yes, leave the two apostrophe characters in place and paste between them)

 

When you are done pasting your long api key code, line #7 should look similar to the following example...

 

 

All done, save the file and then upload to your server via FTP.  Be sure to save it in the folder named:  /locator/include

 

Activating Google Maps API Service

You must login to your Admin Panel and navigate to the General Settings / Mapping tab.  Once there, you will see a drop down where you can turn on Google Maps API.  Set this to Yes to activate.

 

 

 


Page url: http://www.helpandmanual.com/help/index.html?googlemapsapi.htm