setTool

This function will set a new active tool in the Dekho client. This function does not return a value.

Example call

To call the function from a module:

parentApplication.setTool( toolname );

Where toolname is a string of the tool name and it must match the name in the AdminGUI. One additional value which is accepted is “cleardisable”. This value will clear the persistent setting of the currently active tool and disable all the tools. This is useful when the custom tool requires map interaction. Example:

var toolname : String  = “selectionreview”;

Example result

None.


log