JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman

Stephen's JavaScript Blog

By Stephen Chapman, About.com Guide to JavaScript since 2004

Latitude and Longitude

Monday August 18, 2008
Google Maps can display any location based on its latitude and longitude

The easiest way to specify what part of our planet that you want your Google map to display is to specify the latitude and longitude. The maps allow these to be specified to several decimal places so that you can easily move the starting position for your map to point to your house instead of your neighbour's. While this method may require some trial and error on your part to centre the map exactly where you want it is the most efficient way of defining what map to display both in terms of the code needed and the time that will be taken to position the map appropriately.

Latitude and Longitude

Comments

No comments yet. Leave a Comment

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Discuss

Community Forum

Explore JavaScript

About.com Special Features

JavaScript

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.