Class Index | File Index

Classes


Class adf.MapHybridPan


Extends adf.MapContinuousPan.

Defined in: MapToolItem.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.MapHybridPan(id, toolName)
This is a new panning toolitem introduced at 10.
Field Summary
Field Attributes Field Name and Description
 
id
The id of the ToolItem
 
The name of the ToolItem
Fields borrowed from class adf.MapContinuousPan:
action, updateOverview
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 Summary
Method Attributes Method Name and Description
 
activates the ToolItem
 
Continuous callback function which gets called as map 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.MapHybridPan(id, toolName)
This is a new panning toolitem introduced at 10. The panning experience is dependent on the type of map services configured for the map control. For Dynamic Map Services, this pan fetches tiles in a traditional way ( similar to adf.MapPan) For cached services, this pan fetches tiles continuosly as panning is being done.( similar to adf.MapContinuousPan)
Parameters:
{String} id
{String} toolName
Field Detail
{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 map 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

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:42 GMT-0700 (PDT)