Legend
This class represents the Map Legend. 15/03
Constructor Summary
Public Constructor | ||
public |
constructor(id: number, title: string) Creates an instance of Legend class. |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
lastdiv: * |
|
public |
legendDiv: * |
|
public |
table: * |
|
public |
Title of the Gisplay map Legend. |
Method Summary
Public Methods | ||
public |
init(id: *, classname: *) |
|
public |
insertGradient(mapobj: *, left: *, middle: *, right: *) |
|
public |
insertLegend(map: *) Appends the legend div element to the map container. |
|
public |
insertPointRow(currentaes: Aesthetic, mapobj: *) Inserts one row for the Aesthetic object. |
|
public |
insertPolygonRow(currentaes: *, mapobj: *) |
|
public |
insertProportionalSymbols(currentaes: *, mapobj: *, numberof: *) |
|
public |
insertRow(currentaes: *, mapobj: *, type: *) |
|
public |
round(value: *, exp: *): * |
Public Constructors
Public Methods
public init(id: *, classname: *) source
Params:
Name | Type | Attribute | Description |
id | * | ||
classname | * |
public insertGradient(mapobj: *, left: *, middle: *, right: *) source
Params:
Name | Type | Attribute | Description |
mapobj | * | ||
left | * | ||
middle | * | ||
right | * |
public insertLegend(map: *) source
Appends the legend div element to the map container.
Params:
Name | Type | Attribute | Description |
map | * |
public insertPointRow(currentaes: Aesthetic, mapobj: *) source
Inserts one row for the Aesthetic object.
Params:
Name | Type | Attribute | Description |
currentaes | Aesthetic | The Aesthetic object |
|
mapobj | * |
public insertPolygonRow(currentaes: *, mapobj: *) source
Params:
Name | Type | Attribute | Description |
currentaes | * | ||
mapobj | * |
public insertProportionalSymbols(currentaes: *, mapobj: *, numberof: *) source
Params:
Name | Type | Attribute | Description |
currentaes | * | ||
mapobj | * | ||
numberof | * |
public insertRow(currentaes: *, mapobj: *, type: *) source
Params:
Name | Type | Attribute | Description |
currentaes | * | ||
mapobj | * | ||
type | * |
public round(value: *, exp: *): * source
Params:
Name | Type | Attribute | Description |
value | * | ||
exp | * |
Return:
* |