...
Name | type | cardinality | description |
title | String | 0..1 | Text to display as the window title |
width | Integer | 0..1 | The width of the windows, default 400 300 |
height | Integer | 0..1 | The height of the windows, default 300 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'> <label>Legend<<title>Legend</label>title> <width>500<<mapengine>mapengine.main</width>mapengine> <height>300<<remove>hillshade,elevation</height>remove> <image> <src>http<staticLegend url="http://gissrvserver/igis/images/legendmarkers.png<png"/src>> <width>123</width> <height>864</height> </image><staticLegend url="http://server/images/aerial.png" location='bottom'/> </item> |