oscar.Control.Point

Inherits from:oscar.Control

Description: A control for handling point selection.

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

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.Point

Creats a new control for doing point selection.

draw

draw : function()

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

done

done : function(geom)

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

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