...
Display a legend using all map engines
Code Block |
---|
|
<view id='com.cohga.client.panel.legend'>
<label>Legend</label>
</view>
|
Display a legend using only a single map engine
Code Block |
---|
|
<view id='com.cohga.client.panel.legend'>
<label>Legend</label>
<mapEngine>mapengine.vector</mapEngine>
</view>
|
Dynamically generate a legend for an single map engine and remove a couple of layers
Code Block |
---|
|
<view id='com.cohga.client.panel.legend'>
<label>Legend</label>
<mapengine>mapengine.main</mapengine>
<remove>hillshade,elevation</remove>
</view>
|
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 |
---|
|
<view id='com.cohga.client.panel.legend'>
<label>Legend</label>
<mapengine>mapengine.main</mapengine>
<remove>hillshade,elevation</remove>
<staticLegend url="http://server/images/markers.png"/>
<staticLegend url="http://server/images/aerial.png" location='bottom'/>
</view>
|