The Google Static Maps API returns an image (either GIF, PNG or JPEG) in response to an 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 alphanumeric characters.
A Static Maps API image is embedded within an <img> tag's src attribute, or its equivalent in other programming languages. If a Static Maps API image is used outside of a web-based application (such as a browser) then a link must be included pointing to the displayed location in a web browser or native Google Maps application. (Google Maps API for Business users are waived of this requirement.) Please refer to the Google Maps/Google Earth Terms of Service, section 10.1.1(h), for the full and current language regarding this requirement.
This document describes the required format of Static Maps API URLs and the available parameters. It also points out some tips and tricks in specifying your URLs.
© 1996-2022 Experts Exchange, LLC. All rights reserved. Covered by US Patent