Saturday, August 18, 2007

URLs for Google Maps

It's really convenient to use Google Maps to find specific locations and route. But it's very slow to load the home page of Google Maps every time. However, like Google, it is possible to type the link address directly to find a location in Google Maps. For example, to find Marienplatz 1, you can use the following URL directly:
http://maps.google.de/maps?hl=en&q=Marienplatz%201%2C%20Munich

It is quite neat to use this feature combined with Firefox Bookmark Keyword. You can save http://maps.google.de/maps?hl=en&q=%s as Firefox Bookmark, and name the Keyword of this bookmark as gmap. The next time, you can directly type "gmap Marienplatz 1 Munich" in the Firefox address bar to find this location in Google Maps. Even more, you can type "gmap from Marienplatz 1 Munich to Olympiapark Munich" to find the route.

And here are the other parameters of the URL:

lat and lon: q=48.1374740601+11.5754375458
Comment for info window: (City Hall Munich)
Zoom Level: &z=18
language of map (en=english, fr=french, de=germany): &hl=en
map type (0=street map, k=satellite, h=hybrid): &t=k

The complete URL example:
http://maps.google.de/maps?hl=en&q=48.1374740601+11.5754375458+(City Hall Munich)&t=k&z=18


All Google Maps Parameters:
http://mapki.com/index.php?title=Google_Map_Parameters