new LegendImageSetter(config)
Sets the images for the legend
Parameters:
Name |
Type |
Description |
config |
Object
|
Configuration for this object. The config supplied directly extends the control |
Members
events
Properties:
geognoSISUrl
Properties:
Name |
Type |
Description |
geognoSISUrl |
string
|
URL of geognoSIS instance. |
legends
Properties:
Name |
Type |
Description |
legends |
Array.<Object>
|
legend objects. |
m_itemCount
Properties:
Name |
Type |
Description |
m_itemCount |
number
|
number of successful legend updates done. |
printSessionId
Properties:
Name |
Type |
Description |
printSessionId |
string
|
print session id. |
Methods
(protected) legendFailed_handler(jqXHR, textStatus, errorThrown)
Handles failed legend addtion.
Parameters:
Name |
Type |
Description |
jqXHR |
Object
|
response object. |
textStatus |
string
|
text status |
errorThrown |
Object
|
exception |
(protected) legendSuccess_handler(e)
Handles successful legend addition.
Parameters:
Name |
Type |
Description |
e |
Object
|
event args. |
setLegends()
Adds legends to the print.
Returns:
Events
Error
Event indicating that the legends have been set.
Type:
LegendsSet
Event indicating that the legends have been set.
Type: