The Google Static Maps API returns a GIF-format image in response to a HTTP request via a URL. For each request, you can specify the location of the map, the size of the image, the zoom level, the type of map, and the placement of optional markers at locations on the map. You can additionally label your markers using alpha characters, so that you can refer to them in a "key."
You embed a Static Maps API image within a webpage inside an img tag's src attribute. When the webpage is displayed, the browser requests the image from the the Static Maps API and it renders within the image location.
A few other details of note:
- Usage: A Google Static Maps API query request looks like the following and takes parameters like size (width and height in pixels), zoom-level, type (roadmap or mobile), and any marker placements:
- Usage limits: There's a query limit of 1000 unique image requests per user per day. For developers that may expect to hit this limit the best strategy is to use a caching mechanism to store generated images on their own servers.
- API Key: The only requirement to use the API is to sign-up for an API key, which works for both this as well as the standard Google Maps API.
- Google offers a wizard to help walk you through the process of creating a Static Maps map.