# Legend.js

Summary

Legend.js |
Functions |
setMap Set the map property for the control. |
destroy APIMethod: called if destroyed |
Configurable Components |
lc:Legend |
Configurable Properties |
div | {DOMElement}
showBaseLayers | {Boolean}
containerPlugin | {llp:Plugin}
plugins | {llp:Plugin []}

### Functions

### setMap Set the map property for the control.

Parameters: map | {<OpenLayers.Map>}

### destroy APIMethod: called if destroyed

### Configurable Components

### lc:Legend

#### Inherits from

- olc:Control

#### See also

- lc namespace
- {<Legato.Control.Legend>}

### Configurable Properties

### div

{DOMElement}

### showBaseLayers

{Boolean}

### containerPlugin

{llp:Plugin}

### plugins

{llp:Plugin []}

Abstract base component for OpenLayers Controls.
Namespace for Legato controls.