|
|
Add Google Maps into your website
|
Google Maps API
|
Google Maps is one of the web application that is implemented using Ajax. You can add the attractive Google Maps functionality onto your website by doing following 4 easy steps.
Steps for Adding Google Maps to your web-site:
1. Go to Google Maps API site and get the Google API Pin for the site where you want to display the maps.
Replace the GOOGLE_API_PIN with the value you got from Google API site in the attached code.
2. Go to Info Sports site and get the Geocoder - Coordinates i.e. the Longitude & Latitude values for the city/country which you want to display in maps by default.
For example if you want to display the Los Angeles as default map in your site then the Longitude & Latitude values are (-118.388671875, 34.161818161230386). Info Sports provides this service for free. You need to put these values in place of Longitude and Latitude words in the attached code.
3. Now copy and paste the attached code into a webpage after changing the values as mentioned above.
4. You are ready to use the Google Maps on to your site...
Click here for Demo.
Explore It...
|
|
|
|
|
|
|
|
|
|
|
|