Extension:Maps/Yahoo

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

Controls
Parameter:

Possible values:,  ,

This parameter determines the controls on the left of the map. Values are separated with comma's. You can configure the default controls (the one that will be used when no value is provided) in the settings file.

Example: controls=type,zoom

Types
Parameter:

Possible values:,  ,  ,

The map types the user will be able to choose in the map type selector control. Values are separated with comma's. You can set the default.

Example:

types=normal,satellite,hybrid

Note that you can also use the associated Yahoo! Maps API map type names for the allowed parameters.This example is synonymous to the above one.

types=YAHOO_MAP_REG,YAHOO_MAP_SAT,YAHOO_MAP_HYB

Type
Parameter:

Possible values: See types.

The map type, in other words: the one the map will show when the page is loaded. You can set the default.

Example: type=satellite

Autozoom
Parameter:

Possible values: ,

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

Yahoo Maps API Key
Your Yahoo! Maps API key. Required for displaying Yahoo! Maps. Haven't got an API key yet? Get it here.

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

Default:

Default map types
The default Yahoo! Maps map types. This are the map types the user will be able to choose in the map type selector control. This value will only be used when the user does not provide one.

Default:

Default map type
The default map type, in other words: the one the map will show when the page is loaded. This value will only be used when the user does not provide one.

Default:

Yahoo! Map controls
The default controls for Yahoo! 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 will only be used when the user does not provide one.

Default:

Map name prefix
The Yahoo! Maps map name prefix. It can not be identical to the one of another mapping service. Unless you know what you are doing, it's discouraged to modify this value.

Default:

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


 * BN's demo wiki