Constructor
new Toc(options, store, mapNspit)
Create a TOC
Parameters:
| Name | Type | Description |
|---|---|---|
options |
object | TOC options |
store |
object | NSPIT store |
mapNspit |
object | NSPIT map |
Methods
addContent(content)
Add content to TOC
Parameters:
| Name | Type | Description |
|---|---|---|
content |
object | NSPIT content (categories and layers) |