Skip to content

Files

Latest commit

author
Homme Zwaagstra
Mar 6, 2012
9c6f030 · Mar 6, 2012

History

History
11 lines (8 loc) · 426 Bytes

README.md

File metadata and controls

11 lines (8 loc) · 426 Bytes

JQuery OpenLayers Layer Control Plugin

This plugin creates a layer control for an OpenLayers map. The map object is passed as the first argument to the plugin, optionally followed by an object literal specifying other options to pass to the OpenLayers.Control.LayerSwitcher object that the plugin wraps e.g.

$('#layer-control-div').olLayerControl(map)

See example.html in the distribution for a complete example.