Provides a means of displaying a single image legend in a popup window to be used as a legend.
There is a corresponding view that can be used to display the image in a panel instead.
Note that currently this view is supplied in a separate bundle, com.cohga.client.legend. If you don't have this bundle already then contact us for a copy.See the view for details on how to configure the legend content.
ID
com.cohga.client.action.legend
...
Name | type | cardinality | description | ||||
label title | String | 0..1 | Label Text to display in tab, default 'Legend' | image | image | 1..1 | Details about the image to display as the window title |
width | Integer | 0..1 | The width of the windows, default 400 | ||||
height | Integer | 0..1 | The height of the windows, default 300 |
Image Tag
Name | type | cardinality | description |
src | String | 1..1 | URL of image to display |
width | Integer | 1..1 | The width of the image pointed to by the above URL |
height | Integer | 1..1 | The height of the image pointed to by the above URL |
Example
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<item action='com.cohga.client.action.legend'> <label>Legend</label> <width>500</width> <height>300</height> <image> <src>http://gissrv/igis/images/legend.png</src> <width>123</width> <height>864</height> </image> </item> |