Google Maps

See Google Maps API reference; and Maps API V3 Controls; and Google Maps API: events.
(- Includes general examples of binding data and event handlers).
See Google Maps API Tutorial; - events.
See In usability we tust (GoogleMaps API 3.1);
- Simple GoogleMap;
- GoogleMap Parameters.
See MKMapView tutorial for Google Maps latitude and longitude.
Also see MapKit.
[Version 2 of Google Maps required the user to sign up (at for a (free) key for each domain the map API might be used in.
After signing up for, the following page was displayed:

Thank You for Signing Up for a Google Maps API Key!
Your key is:
Note: for more information on the API key system, consult

How you use your key depends on what Maps API product or service you use. Your key is valid for use within the entire family of Google Maps API solutions. The following examples show how to use your key within the Maps API product family.

JavaScript Maps API Example

Within the JavaScript Maps API, place the key within the script tag when you load the API:

... // Note: you will need to replace the sensor parameter below with either an explicit true or false value.

See Loading the Maps API in the JavaScript Maps API documentation for more information.

Maps API for Flash Example
Within the Maps API for Flash, you may place the key within an MXML declaration, declare it directly within code as a Map.key property, or as a flashVars property within the HTML container. A sample MXML declaration is shown below.

<maps:Map xmlns:maps="*" id="map" mapevent_mapready="onMapReady(event)" width="100%" height="100%"

... See Declaring Maps in the Maps API for Flash documentation for more information.

HTTP Service Example
Within a Maps API HTTP Service, such as the Static Maps API or Geocoding Service, place the key directly in the request URL:,+Mountain+View,+CA&output=json&oe=utf8\

Note that for all examples, you must replace the sensor parameter with a valid value, based on whether your application uses a sensor to determine a user's location. Check out the API documentation for more information.