Google Static Maps API - Google Code

The following example contains the URL of a static map image, which is displayed below:

# Note that this URL wraps at the '\' character.
# You can copy the URL from the image below, however.
# For clarity, we don't write the actual API key in use.
#
http://maps.google.com/staticmap?center=40.714728,-73.998672&zoom=14&size=512x512&maptype=mobile\
&markers=40.702147,-74.015794,blues%7C40.711614,-74.012318,greeng%7C40.718217,-73.998284,redc\
&key=MAPS_API_KEY

Points of Interest in Lower Manhattan

Notice that you don't need to do anything "special" to get this image to show up on the page. No JavaScript is required. All we needed to do was create a URL, and place it within an tag. You can place a Google static map anywhere on your webpage where you can place an image.

Copyright 2010 Collector
Lunax Free Premium Blogger™ template by Introblogger