callbacks

The callbacks object provides the following callback functions:

§  onAnalysisObjectAdded

§  onAreaToolClosed

§  onDistanceToolClosed

§  onDistanceMeasurementFinished

§  onStreamingFinished

§  onFlyToPositionFinished

§  onProfileToolClosed

§  onQueryToolClosed

§  onViewshedToolClosed

§  onVolumeToolClosed

 

Example

TerraExplorer.events.onProfileToolClosed.addEventListener(function(){alert("Profile tool is closed")});