new LayerTemplateUI(config)
Represents layer template data UI object
Parameters:
| Name | Type | Description |
|---|---|---|
config |
Object | The options used to configure this control, any valid option for Cadcorp.UI.Admin.AdminControlBase can be supplied |
Members
events
Properties:
| Name | Type | Description |
|---|---|---|
events |
Object | Holds events for the conotrol. |
fullTemplateLabelText
Properties:
| Name | Type | Description |
|---|---|---|
fullTemplateLabelText |
string | = label text for full template label |
iconLabelText
Properties:
| Name | Type | Description |
|---|---|---|
iconLabelText |
string | = label for icon drop down. |
icons
Properties:
| Name | Type | Description |
|---|---|---|
icons |
Object | Array of available icons. |
layerTemplate
Properties:
| Name | Type | Description |
|---|---|---|
layerTemplate |
Object | Data object for the control. |
noOverlaysText
Properties:
| Name | Type | Description |
|---|---|---|
noOverlaysText |
string | Default text for overlay drop downs. |
noTemplateText
Properties:
| Name | Type | Description |
|---|---|---|
noTemplateText |
string | Default text for templates drop downs. |
nothingFoundTemplateLabelText
Properties:
| Name | Type | Description |
|---|---|---|
nothingFoundTemplateLabelText |
string | = label text for nothing found template |
overlayNameLabelText
Properties:
| Name | Type | Description |
|---|---|---|
overlayNameLabelText |
string | = label name for overlay text |
overlays
Properties:
| Name | Type | Description |
|---|---|---|
overlays |
Object | Array of available overlays. |
parentControl
Properties:
| Name | Type | Description |
|---|---|---|
parentControl- |
Object | DOM object holding this UI element. |
removeButtonLabelText
Properties:
| Name | Type | Description |
|---|---|---|
removeButtonLabelText |
string | = text for remove button. |
summaryTemplateLabelText
Properties:
| Name | Type | Description |
|---|---|---|
summaryTemplateLabelText |
string | = label text for summary template. |
templates
Properties:
| Name | Type | Description |
|---|---|---|
templates |
Object | Array of available templates. |