Extension:Maps/OpenLayers

Layers
Parameter:

Available values:
 * - Google international maps
 * - Google satellite maps
 * - Google hybrid maps
 * - Google physical maps
 * - bundles the four above values
 * or  - Bing maps, formerly known as Virtual Earh
 * or  - Yahoo international  maps
 * or  - Open Layers WMS
 * - NASA satellite imagery

This parameter sets the available base layers of your Open Layers map. You can add as many base layers as you want, by separating them with comma's. When you add a layer twice, only the first occurrence will be added. The  short cut allows you to add all Google layers without having to type them all. The first layer will be loaded at start-up. You can also configure the default layers (the ones that will be added when no value is provided) in the settings file.

Adding certain layers will make the Open Layers map dependent on other mapping API's. A list of layers that require attention:
 * All Google layers - require the Google Maps API. You must have a valid Google Maps API key entered for these layers to work!
 * All Yahoo! layers - require the Yahoo! Maps API. You must have a valid Yahoo! Maps API key entered for these layers to work!

Example of how to use this parameter: layers=google-hybrid,nasa,yahoo,google This will result in the following order of layers: Google hybrid maps, NASA satellite imagery, Yahoo international maps, Google international maps, Google satellite maps, Google physical maps

Controls
Parameter:

Available values:
 * - Open Layers docs
 * - Open Layers docs
 * - Open Layers docs
 * - Open Layers docs
 * - Open Layers docs
 * - Open Layers docs
 * - Open Layers docs
 * - Open Layers docs
 * - Open Layers docs

This parameter sets the controls that will be added to your Open Layers map. You can add as many of the controls you want, by separating them with comma's. You can also configure the default controls (the ones that will be added when no value is provided) in the settings file.

Note that panzoom and panzoombar cannot be used together. Also note that these values are case insensitive, allowing you to just add the Open Layers names if preferred.

Example of how to use this parameter: controls=panzoombar,scaleline,overviewmap,keyboarddefaults

Open Layers layers
The default layers for Open Layers. This value will only be used when the user does not provide one. See the layers parameter for the available values.

Open Layers controls
The default controls for Open Layers. This value will only be used when the user does not provide one. See the controls parameter for the available values.

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