Class: infocontainerController

nsVmap.nsToolsManager.InfoContainer#infocontainerController

Controller

Methods

addInfos(infos)

vmap/tools/infocontainer.js, line 825

Add the infos

Name Type Description
infos object

addRow(row_options, tab_options){string}

vmap/tools/infocontainer.js, line 736

Add a row on a tab

Name Type Description
row_options
Name Type Description
data object

bootstrap-table data

columns object

bootstrap-table columns

invisibleColumns array

list of the invisible columns

tab_options
Name Type Description
tabName string

tab name

tabId integer

tab id

Returns:
error or true if all was executed

addTab(tab)

vmap/tools/infocontainer.js, line 699

Add a tab on the bar, if the tab already exist, then the tab is erased

Name Type Description
tab array.<object>

Tab parameters

displayTabByName(tabName)

vmap/tools/infocontainer.js, line 645

Display the tab by the name

Name Type Description
tabName string

Name of the tab

displayTabFeatures(tabName){string}

vmap/tools/infocontainer.js, line 1000

Display pass the tab features on the top of the featureOverlay

Name Type Description
tabName string

name of the tab

Returns:
error

getTabByName(tabName)

vmap/tools/infocontainer.js, line 670

Get the tab by the name

Name Type Description
tabName string

Name of the tab

getTabTable(tab)

vmap/tools/infocontainer.js, line 686

Get the tab bootstrap-table element

Name Type Description
tab tab

tab

loadTables()

vmap/tools/infocontainer.js, line 1035

Load the tables

refreshTabs()

vmap/tools/infocontainer.js, line 811

Refresh the tabs

removeTabByName(tabName)

vmap/tools/infocontainer.js, line 923

Delete a tab by tabName. Warning: this function will not remove the possible features binded on the rows

Name Type Description
tabName string

name of the tab

removeTabRows(tabName)

vmap/tools/infocontainer.js, line 891

Delete all the rows in the tab. Warning: this function will remove the possible features binded on the rows

Name Type Description
tabName string

tabName of the tab

setInfos(infos)

vmap/tools/infocontainer.js, line 868

Set the infos

Name Type Description
infos object

showBar()

vmap/tools/infocontainer.js, line 625

Show the infos container's bar

zoomOnTabFeatures(tabName){string}

vmap/tools/infocontainer.js, line 943

Zoom on the tab features and pass them on the top of the featureOverlay

Name Type Description
tabName string

name of the tab

Returns:
error