Class AoiBoxOL
Object
|
+--WidgetBase
|
+--AoiBoxOL
- class
AoiBoxOL
- extends WidgetBase
Deprecated
Defined in AoiBoxOL.js
Constructor Summary |
AoiBoxOL
(widgetNode, model)
Widget to draw an Area Of Interest box of a model.
|
Method Summary |
void
|
clearAoiBox(objRef)
Clears the AOI box.
|
Object
|
createControl(objRef)
Interactive ZoomOut control.
|
void
|
drawAoiBox(objRef)
Draws a bounding box around the current AOI.
|
void
|
init(objRef)
|
cursor
Object cursor
handler
Object handler
AoiBoxOL
AoiBoxOL(widgetNode, model)
Widget to draw an Area Of Interest box of a model. The box can be drawn with
the paint() method and is registered as a listener of the context AOI property.
This object works entirely in pixel/line coordinate space and knows nothing
about geography. This widget uses DHTML methods to draw the box. Since it
does not support a targetModel property, it has to be defined as a child widget
of the context of the map that the box should be drawn into.
WARNING: This widget cannot be used in maps that use button controls.
Button controls take care of aoi handling themselves.
It is designed for use in locator map setups only.
See also MAP-312
Parameters:
widgetNode
- The node for this object from the Config file.
model
- The model that contains this object.
clearAoiBox
void clearAoiBox(objRef)
Parameters:
objRef
- reference to this widget
createControl
Object createControl(objRef)
Interactive ZoomOut control.
Parameters:
objRef
- reference to this object.
Returns:
{OpenLayers.Control} class of the OL control.
drawAoiBox
void drawAoiBox(objRef)
Draws a bounding box around the current AOI.
Parameters:
objRef
- reference to this widget
init
void init(objRef)
Documentation generated by
JSDoc on Sun Apr 27 20:30:54 2008