Class ZoomToAoi
Object
|
+--ToolBase
|
+--ZoomToAoi
- class
ZoomToAoi
- extends ToolBase
Author: Adair
Deprecated
Defined in ZoomToAoi.js
Constructor Summary |
ZoomToAoi
(toolNode, model)
Controller for the locator map widget.
|
ZoomToAoi
ZoomToAoi(toolNode, model)
Controller for the locator map widget.
Specify the context that this widget follows by setting the targetModel
property in config.
This will display the AOI of the target model using the AoiBox tool.
This will also process mouse events (click and dragbox) to recenter the
target model and includes coordinate projection transformations if required.
Checking for extent limits is not yet implemented.
WARNING: it is recommended to use the OverviewMap widget. However since the behavior
is slightly different from this widget, this one is still available.
See also MAP-300
Parameters:
toolNode
- The tool node from the config document for this tool
model
- Reference to the widget object that creates this tool
firstInit
void firstInit(tool)
initProj
void initProj( toolRef )
Target model loadModel change listener. This resets the projection objects
if the target model changes.
Parameters:
tool
- Pointer to this ZoomToAoi object.
mouseUpHandler
void mouseUpHandler(e)
Process a mouse up action. This will recenter the target model's bbox
to be equal to this model's AOI.
setListeners
void setListeners( toolRef )
showTargetAoi
void showTargetAoi( tool )
Target model bbox change listener. This sets this model's AOI to be the
same as the target model bounding box.
Parameters:
tool
- Pointer to this ZoomToAoi object.
Documentation generated by
JSDoc on Tue Aug 21 08:12:28 2007