new LayerUI(config)
A control that displays a base layer
Parameters:
Name | Type | Description |
---|---|---|
config |
Cadcorp.UI.BaseMapSwitcher.LayerUIConfig | The configuration object |
Members
cssClass
Properties:
Name | Type | Description |
---|---|---|
cssClass |
string | The css class used to display the image. |
layer
Properties:
Name | Type | Description |
---|---|---|
layer |
OpenLayers.Layer | The Open Layers base layer. |
text
Properties:
Name | Type | Description |
---|---|---|
text |
string | The text being displayed. |
Methods
getUI() → {Object}
Get the UI element
Returns:
The jquery object for the container element
- Type
- Object