new MarqueeZoomTool(map)
Parameters:
| Name | Type | Description | 
|---|---|---|
| map | OM.Map | a map object | 
Returns:
An instance of OM.tool.MarqueeZoomTool
Extends
Methods
- 
    getGeometry()
- 
    
    Get the generated geometry. - Inherited From:
 Returns:the geometry created by the tool - Type
- OM.geometry.Geometry
 
- 
    getStatus()
- 
    
    Get the tool's status. Can be one of OM.tool.Tool.STARTED, OM.tool.Tool.STOPPED, or OM.tool.Tool.FINISHED - Inherited From:
 Returns:tool status - Type
- int
 
- 
    on()
- 
    
    A shorthand name for the member function addListener. - Inherited From:
- Mixes In:
 
- 
    setDrawingStyle(style)
- 
    
    Set the line drawing style Parameters:Name Type Description styleOM.style.Line A line style used to 
 display the shape boundary as the user is drawing it.- Inherited From:
 Returns:The tool instance - Type
- OM.tool.Tool
 
- 
    setStyle(style)
- 
    
    Set rendering style for the completed feature Parameters:Name Type Description styleOM.Style The style to be used for the completed shape - Inherited From:
 Returns:The tool instance - Type
- OM.tool.Tool