Provides a means of displaying a single image 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.
ID
com.cohga.client.action.legend
Sub-tags
Name |
type |
cardinality |
description |
label |
String |
0..1 |
Label to display in tab, default 'Legend' |
image |
image |
1..1 |
Details about the image to display |
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
<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>