Add Google maps to your site | Boagworld - Web & Digital Advice

Web & Digital Advice

Digital and web advice from Headscape and the addled brain of Paul Boag... tell me more

Paul Boag Posted by: Paul Boag On Monday, 18th July, 2005

Add Google maps to your site

I am sure that by now you have all seen the new Google Maps feature. Some of you may already be linking to it from your address information on your site. However, what is exciting is that Google allow you to embed these maps directly into your site.

Development:
The estimated time to read this article is 2 minutes


Features

As you can see from the example below, it is now possible to add Google Maps directly to your own site. This map offers you all of the functionality of the real Google maps including drag and drop support, zoom features and even satellite map overlays.

Google offers a whole range of customisation features including, but not limited to:

  • Plotting multiple points extracted from a database
  • Associating additional information with points through the use of information windows which appear when you click on a point (try clicking on the marker displayed below)
  • Customise the appearance of markers
  • Plot outlines or routes as well as single points
  • Add your own custom scripts to do pretty much anything when a user clicks a marker

Downsides

However, before you get too excited you should be aware of the drawbacks.

This product is still in Beta and although Google’s betas are normally stable, it is possible you will encounter various bugs in its use. Furthermore, Google are constantly updating the product as they move towards a final release and so it may be necessary to update your code to accommodate these improvements.

It is also important to note that this application does require JavaScript to operate and so does not meet Accessibility guidelines. Sites will need to ensure that information provided on the map is also accessible through other means.

Unsurprisingly Google are reserving the right to associate advertising with these maps and so you can expect this to appear once the product moves out of Beta.

That said this is still an excellent product and a real addition to any site that needs to display location information. It is both user friendly, easy to implement but also incredibly powerful if you want to get into the depths of its functionality.

Become a web expert with our newsletter

Receive invaluable advice every three weeks and get two free video presentations for subscribing. You can unsubscribe in one click.

Blog Updates

You can follow all my posts by subscribing to my RSS feed or signing up to my email newsletter above.

Podcast Updates

Subscribe to the podcast via itunes or RSS. You can also subscribe to my quick tips via itunes and RSS too.

Social Updates

I am completely addicted to Twitter so try following me there. I also have a Facebook page which contains considerably less waffle.

Comments

Boagworld is a community, not just the voice of one blogger. You've read the post, now its time to get involved.