oscar.Control.Box

Inherits from:oscar.Control

Description: A box control for handling range selections.

Summary
oscar.Control.Box
Constants
EVENT_TYPES{Array(String)} Supported application event types.
Functions
oscar.Control.BoxCreats a new control for doing area selection.
drawThis activates the handler used to draw the selection area on screen.
done{OpenLayers.Geometry} The geometry object of the selection area.

Constants

EVENT_TYPES

{Array(String)} Supported application event types.

Supported event types

  • done triggered when the selection even has been completed.  Will will pass a geometry object to any listeners.

Functions

oscar.Control.Box

Creats a new control for doing area selection.

draw

draw : function()

This activates the handler used to draw the selection area on screen.

done

done : function(geom)

{OpenLayers.Geometry} The geometry object of the selection area.

draw : function()
This activates the handler used to draw the selection area on screen.
done : function(geom)
{OpenLayers.Geometry} The geometry object of the selection area.
Description: Definition for the oscar Control name space.