What parameters should I use in a Google Maps URL to go to a lat-lon?

Posted by xpda on Stack Overflow See other posts from Stack Overflow or by xpda
Published on 2010-04-17T21:50:29Z Indexed on 2010/04/17 21:53 UTC
Read the original article Hit count: 277

Filed under:

I would like to produce a url for Google Maps that goes to a specific latitude and longitude. Now, I generate a url such as this:

http://maps.google.com/maps?z=11&t=k&q=58 41.881N 152 31.324W

The resulting map comes up with a round "A" balloon pointer, which seems to point to the nearest named object, and a green arrow, which points to the lat-lon. Sometimes, as in this example, the "A" pointer is centered and is far enough away that you cannot see the pointer to the lat-lon. (Zoom out to see both pointers in this example. The "A" pointer is in the center of Alaska, while the lat-long pointer is on Kodiak Island.)

Are there some parameters I can use in the Google Maps URL that will produce a single pointer to a designated lat-lon? (This loads in a separate window. It is not embedded.)

© Stack Overflow or respective owner

Related posts about google-maps