...
Name | type | cardinality | description |
title | String | 0..1 | Text to display as the window title, default 'Legend' |
width | Integer | 0..1 | The width of the windowswindow, default 300 |
height | Integer | 0..1 | The height of the windowswindow, default 500 |
Example
Dynamically generate a legend for an map engine and remove a couple of layers and add two static images on at the top and one at the bottom
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<item action='com.cohga.client.action.legend'>
<title>Legend</title>
<mapengine>mapengine.main</mapengine>
<remove>hillshade,elevation</remove>
<staticLegend url="http://server/images/markers.png"/>
<staticLegend url="http://server/images/aerial.png" location='bottom'/>
</item>
|
...