AccessMyLibrary provides FREE access to over 30 million articles from top publications available through your library.
Create a link to this page
Copy and paste this link tag into your Web page or blog:
Byline: Nigel Whitfield
Where in the world?
How to add geographic information to your websites
Google Maps is one of the most useful websites to appear in recent years. If you want to show someone on a map where your office is, or the location of a party, it's a great tool.
You can add a link to a map very easily by clicking the buttons on http://maps.google.co.uk to get the code. But there is more to Google Maps than that.
If your site can determine the location of a user, geolocation can be used to customise the information displayed automatically. So there is no need for people to enter their postcode, for example, to find the nearest branches of a business.
But how do you do it? Well, the web standards organisation W3C has developed a geolocation API, designed to allow you to determine someone's location in Javascript.