Google (v3) Layer Example

Google, api key, apikey, light

Demonstrate use the Google Maps v3 API.

Animated zoom (if supported by GMaps on your device)

If you use the Google Maps v3 API with a Google layer, you don't need to include an API key. This layer only works in the spherical mercator projection. See the google-v3.js source to see how this is done.

In order to position the Google attribution div in the default location, you must include the extra theme/default/google.css stylesheet.

Note on Google Maps API versioning: This example uses the "nightly" version of Google Maps API. This is specified by using v=3 in the the Google Maps API URL. Production applications should use the "release" or "frozen" versions of Google Maps API. See the OpenLayers.Layer.Google.v3 API docs, and the Versioning Section of the Google Maps API docs, for more details.