Class adf.MapPan
Extends
adf.MapToolItem.
Defined in: MapToolItem.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.MapPan(id, toolName)
This ToolItem is used to pan the map.
|
Field Attributes | Field Name and Description |
---|---|
The adf.Action associated with the ToolItem
|
|
The id of the ToolItem
|
|
The name of the ToolItem
|
|
Whether to update overview while panning map.
|
- 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, name, selectedImage, selectedStyle, showLoading, toolTip
Method Attributes | Method Name and Description |
---|---|
activate()
activates the ToolItem
|
|
postAction(x, y)
This callback is called after adf.DragElementAction is completed.
|
- Methods borrowed from class adf.MapToolItem:
- deactivate
Class Detail
adf.MapPan(id, toolName)
This ToolItem is used to pan the map. It sends the map and screen coordinates of where the map needs to be
recentered.
The adf.ToolItem#clientPostBack determines whether the request to the web server will
be sent through partial postback (AJAX) or full postback.
- Parameters:
- {String} id
- the id of the tool
- {String} toolName
- the name of the tool
Field Detail
{adf.Action}
action
The adf.Action associated with the ToolItem
- Default Value:
- adf.DragElementAction
{String}
id
The id of the ToolItem
{String}
toolName
The name of the ToolItem
{Boolean}
updateOverview
Whether to update overview while panning map. Default is false
- Default Value:
- false
Method Detail
activate()
activates the ToolItem
postAction(x, y)
This callback is called after adf.DragElementAction is completed.
- Parameters:
- {Number} x
- {Number} y