Extension:Maps/Google

Google Maps examples
Since Maps is not enabled on this wiki, no examples can be shown here. You can find a list of Google Maps examples here.

Control
Parameter:  (note: It's controls, not control!)

Possible values:,   (default), and more

This parameter determines the control on the left of the map that enables you to zoom and pan. There are 2 short cut values, as listed above, that represent the most common controls. You can however also use the Google Maps API name for the control (click for a list of all available). Note that entering a wrong value for this property is likely to result in the map not being displayed correctly. You can also configure the default control (the one that will be used when no value is provided) in the settings file.

Example: controls=GLargeMapControl

Type
Parameter:

Possible values:  (default), ,  ,

This value determines the map type that will be shown when the map is loaded. The default value is.

Example: type=hybrid

Autozoom
Parameter:

Possible values:  (default),

This value determines whether you will be able to zoom in and out using your the scroll wheel of your mouse. You can set the default.

Example: autozoom=off

Google Earth
Parameter:

Possible values:,   (default)

You can add this parameter to both display_map and display_address. It will add a fourth map type, named 'earth' to the map. When selecting this map type, you will get a Google Earth map. You need to have the Google Earth plug-in installed to use the map. If you don't, you'll be shown a message with a download link. Note that enabling this map type will change the default from 'normal' to 'earth'. You can of course override that by providing the  parameter. You can also configure the default on/off setting (the one that will be used when no value is provided) in the settings file.

Example: earth=on

Google Maps API Key
Your Google Maps API key. Required for displaying Google Maps, and using the Google Geocoder services. Haven't got an API key yet? Get it here.

Default map zoom
The default zoom of a Google Maps map. This value will only be used when the user does not provide one.

Default:

Google Map control
The default control for Google Maps. This value will only be used when the user does not provide one.

Default:

Default autozoom
The default value for enabling or disabling the autozoom of a map. This value is shared with Yahoo! Maps. This value will only be used when the user does not provide one.

Default:

Default Google Earth
The default value for enabling or disabling the earth map type for Google Maps. This value will only be used when the user does not provide one.

Default:

Google Maps usage examples
If you are using Maps and have a great example of Google Maps functionality, feel free to link to it below.