Archive for the ‘Application programming interface(APIs)’ Category

Google Map API

May 10, 2008

It’s too much easy to integrate Google map in your site .For this, it is needed to be downloaded the GoogleMapAPI class from this link After then, Google Map API key is mandatory to create. You can register free here

I have implemented this script using smarty. Since I discussed installation technique of smarty in my previous post, so I used only two file named map.html and map.php. Now follow me
Step 1: Unzip the downloaded file. You need only GoogleMapAPI.class.php file
Step 2: Copy and paste the following code in map.html file

Step 3: Copy and paste the following code in map.php file

click on images to enlarge
If you would like to know details about this class,read the README file
Output of this script will like that:

Very Interesting…..isn’t it?