oscar.Control.Box A box control for handling range selections.

Inherits from:oscar.Control
Summary

Constants

EVENT_TYPES

{Array(String)} Supported application event types.

Supported event types: donetriggered when the selection event has been completed.  Will pass a geometry object to any listeners.

Constructor

oscar.Control.Box Creates a box control for handling range

selection.

Parameters: options{Object} An optional object whose properties will be set on this instance.

Functions

draw

draw : function()

This method activates the handler and draws the selection area on screen.

Constants

CLASS_NAME - oscar.Control.Box

draw : function()
This method activates the handler and draws the selection area on screen.
The components under oscar.Control package add extra effects and behaviors to user’s maps.