new ToolEvent(type, target)
This class defines the types of events that may be fired by an
interactive map tool such as the DistanceTool or RedlineTool.
Parameters:
Name | Type | Description |
---|---|---|
type |
String | The event type, such as |
target |
Object | The event target, typically the Tool instance itself. |
Returns:
An object of ToolEvent
- Type
- OM.event.ToolEvent
Extends
Members
-
<static, constant> CIRCLE_DRAG :String
-
<static, constant> MOUSE_RIGHT_CLICK :String
-
<static, constant> RECTANGLE_DRAG :String
-
<static, constant> REDLINE_EDITED :String
-
<static, constant> REDLINE_POINT_CREATE :String
-
<static, constant> SNAP_POINT :String
-
<static, constant> TOOL_CLEAR :String
-
<static, constant> TOOL_END :String
-
<static, constant> TOOL_START :String
-
evt :Object
-
location :Point
-
target :Object
-
type :String