Yahoo! Maps

From Mapping on MediaWiki
Jump to: navigation, search

Note: this mapping service has been removed in Maps 1.1.

Yahoo! Maps
What:
Yahoo! Maps is a free on-line mapping portal provided by Yahoo!.
Licence:
Yahoo! Maps licence
Parameter value:
yahoomaps
Parameter aliases:
yahoomap, yahoo, ymap, ymaps
More info:
Yahoo! Maps

Yahoo! Maps is one of the mapping services natively supported by the Maps and Semantic Maps extensions. It can be used with:

Yahoo! Maps specific properties

This mapping service defines several of it's own parameters that are supported by most of the features implementing this service.

Fatal error: The value "yahoomaps" is not valid for parameter service. It only accepts these values: googlemaps3 and openlayers.


Controls

Parameter: controls=

Possible values: pan, zoom, type

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: types=

Possible values: normal, satellite, hybrid,

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

Maps allowed to also use the associated Yahoo! Maps API map type names. However, this support has been removed in 0.5.

Type

Parameter: type=

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: autozoom=

Possible values: on, off

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 specific settings

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: $egMapsYahooMapsZoom = 4;

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: $egMapsYahooMapsTypes = array('normal', 'satellite', 'hybrid');

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: $egMapsYahooMapsType = 'normal';

Yahoo! Map controls

The default controls for Yahoo! Maps. This value will only be used when the user does not provide one.

Default: $egMapsYMapControls = array('type', 'pan', 'zoom');

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: $egMapsYahooAutozoom = true;

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: $egMapsYahooMapsPrefix = 'map_yahoo';

This documentation page applies to all (Semantic) Maps versions from 1.0 to the most current version.
Other versions: 0.7 – 0.7.7, 0.1 – 0.6.6      

Yahoo! Maps en 1.0