The Business Centre

How to add a Google map to your web page
As Google continues its steady progress towards domination of all things Internet-based, a clutch of useful tools is filtering down to Web designers.
Jason Whittaker (PC Advisor (UK)) 13/03/2008 16:10:00

iPhone Centre
iPhone CentreFind out all about the iPhone at our iPhone Centre. News, reviews, how-tos and video - all in one location.
  • +

    Google touts iPhone, Chrome browser 05/09/2008 08:50:00

    Google heaps praise on the iPhone, Chrome and their cloud potential at the Office 2.0 Conference.
    A Google executive Thursday heaped praise on Apple's iPhone, even with his company set to challenge Apple in this same space with its Android mobile computing platform.
  • +

    Disgruntled customer files second iPhone 3G class-action lawsuit 04/09/2008 10:29:00

    An iPhone 3G customer has filed the second lawsuit against Apple and US telecommunications provider AT&T over the popular phone. This one, by William J. Gillis Jr., was filed in San Diego, California and charges that the two companies deliberately misrepresented what users could expect in terms of 3G connectivity and performance, according to blogger Justin McLachlan who first broke the news on Tuesday.
  • +

    iPhone imitators prepping for their close-ups 01/09/2008 08:22:00

    It may be too early, or too presumptuous, to call Apple's iPhone a technology icon, but all the other major equipment makers in the emerging smart phone realm are looking to create their own "iconic" device.
Additional Resources

Newsletter Subscription

Sign up for our Good Gear Guide newsletters!
Each day the GearDaily Newsletter covers the latest from the last week in a specific category. Monday is "Computing, Small Office and Home Office", Tuesday is "On the Move", Wednesday is "Digital Cameras, Video and Imaging", Thursday is "Mobile Phones and Communications" and Friday is "Home Entertainment".
See the latest products and comparison prices added to GearShop each week.
The GoodGearGuide portfolio of services is rapidly expanding. By joining this list you will be pre-registered for any new email services we launch so you won't miss out on any of our independent product guidance and purchasing information. You will be automatically subscribed and receive the new service(s) but dont worry, should you wish to unsubscribe you can do so with only one click.

As Google continues its steady progress towards domination of all things Internet-based, a clutch of useful tools is filtering down to Web designers. One such service is a beta version of Google Maps' programming interface.

While many of us use Google Maps to find locations or to browse satellite imagery, it's an open secret that you can also add those maps to your own site.

This is one of the many projects that makes use of a Google application programming interface (API) to provide services to websites. Web designers can modify the map to display certain information; it's possible that their mashup could even be loaded on to Google Maps.

As with Google's other APIs, this is free to use - with certain restrictions. If you want to use a map commercially or on a private website, sign up for a 30-day trial of Google Maps Enterprise. Enterprise allows maps to be viewed behind a firewall or with a paid-for subscription login; it also provides extra features such as customer relations and marketing support.

With the free version, users can localise a map and modify it to respond to zooms and pans to find other places. Information windows can be added to provide visitors with updates, or markers and route lines can indicate positions or directions.

With some further research you could soon be performing such advanced functions as geocoding, adding a Google-powered local search engine, creating custom controls and adding driving instructions to your website. For the time being, however, if all you want is a simple map with straightforward instructions, you can achieve this in half an hour or so.

Step 1

1. To get started using Google Maps, you'll need to sign up for an API key. This key is valid for a single directory on your server; you can use it to embed a Google Map on any page at that domain, with no limit on the number of page views per day.

google map api key

Step 2

2. Before you can get this key, you'll need to log into your existing Google Account (or create one). Once logged in, click 'Sign up for a Google Maps API key'. Enter your domain name and click 'Generate API key'. This will create the key along with some code that can be pasted into a hypertext markup language (HTML) file.

google account

Market Place

Good Gear Guide Member Login

 
close
Hot Deals
CareerOne
Sponsored Links