Class adf.OverviewPan
Extends
adf.MapToolItem.
Defined in: Overview.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.OverviewPan(id, toolName)
Similar to the adf.MapContinuousPan ToolItem, this ToolItem is used to pan the overview.
|
Field Attributes | Field Name and Description |
---|---|
The adf.action associated with the ToolItem
|
|
The id of the ToolItem
|
|
The name of the ToolItem
|
- Fields borrowed from class adf.MapToolItem:
- blockMapPan, blockMapZoom, control
- Fields borrowed from class adf.ToolItem:
- clientPostBack, defaultImage, defaultStyle, disabledImage, disabledStyle, element, hoverImage, hoverStyle, isActive, isCommand, isDisabled, isMarker, selectedImage, selectedStyle, showLoading, toolTip
Method Attributes | Method Name and Description |
---|---|
activate()
activates the ToolItem
|
|
continuousAction(x, y)
Continuous callback function which gets called as overview is being dragged
|
|
postAction(x, y)
Callback function which gets called after the element is dragged
|
- Methods borrowed from class adf.MapToolItem:
- deactivate
Class Detail
adf.OverviewPan(id, toolName)
Similar to the adf.MapContinuousPan ToolItem, this ToolItem is used to pan the overview. The
overview images are retrieved continuously while the overview is being panned.
- Parameters:
- {String} id
- {String} toolName
Field Detail
{adf.Action}
action
The adf.action associated with the ToolItem
- Default Value:
- adf.DragElementAction
{String}
id
The id of the ToolItem
{String}
name
The name of the ToolItem
Method Detail
activate()
activates the ToolItem
continuousAction(x, y)
Continuous callback function which gets called as overview is being dragged
- Parameters:
- {Number} x
- x offset of current cursor position with respect to the position where drag is initiated
- {Number} y
- y offset of current cursor position with respect to the position where drag is initiated
postAction(x, y)
Callback function which gets called after the element is dragged
- Parameters:
- {Number} x
- x offset of current cursor position with respect to the position where drag is initiated
- {Number} y
- y offset of current cursor position with respect to the position where drag is initiated