Yahoo! Maps 0.7.x

From Mapping on MediaWiki
Jump to: navigation, search
Yahoo! Maps 0.7.x
What:
Yahoo! Maps is a free on-line mapping portal provided by Yahoo!.
Licence:
Yahoo! Maps 0.7.x licence
Parameter value:
yahoomaps
Parameter aliases:
yahoomap, yahoo, ymap, ymaps
More info:
Yahoo! Maps 0.7.x

Yahoo! Maps 0.7.x 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.

Property Aliases Default Version
controls - configurable Changed in 0.3
types map-types, map types configurable Added in 0.3
type map-type, map type configurable -
autozoom auto zoom, mouse zoom, mousezoom configurable -

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 0.7 to 0.7.7.
Other versions: ≥ 1.0, 0.1 – 0.6.6      

Yahoo! Maps en 0.7 0.7.7