<< Click to Display Table of Contents >>
ToolbarControl (pParentElem, padding, nCol)
Description
The object of map toolbar control
Position
Controls.js
Parameters
Parameter |
Description |
pParentElem |
The webpage DOM Container Object in which the control object is built, is usually div element but it can be span or other similar container objects as well. |
padding |
To set the interval between tool buttons. |
nCol |
To set the count of toolbar column. |
Properties
Property |
Description |
none |
none |
Methods
Method |
Description |
FinalRelease() |
The toolbar destructor, it removes toolbar from container object. |
AddTool(pMapBase, pTool, imgPath, altString) |
The add tool button, it includes pTool parameter which is the tool function object, imgPath parameter which is the path of tool image and altString parameter which is the name of tool. |
selectTool(Index) |
To change the current tool and the Index parameter is the tool index value. |
©2015 Supergeo Technologies Inc.