Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 426 Bytes

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.