Class adf.MapImage
Extends
adf.MapToolItem.
Defined in: MapToolItem.js.
Constructor Attributes | Constructor Name and Description |
---|---|
adf.MapImage(id, toolName)
Draws an image on the map control at the point specified.
|
Field Attributes | Field Name and Description |
---|---|
The adf.action associated with the ToolItem
|
|
The id of the ToolItem
|
|
Height of the Image
|
|
Url to image to be added to map control.
|
|
Width of the Image
|
|
Whether tool item is a marker (drawn as graphic on screen) or tool (sends coordinates/request to server)
|
|
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, selectedImage, selectedStyle, showLoading, toolTip
Method Attributes | Method Name and Description |
---|---|
postAction(point)
This callback is called after adf.DrawPointAction is completed.
|
- Methods borrowed from class adf.MapToolItem:
- activate, deactivate
Class Detail
adf.MapImage(id, toolName)
Draws an image on the map control at the point specified. This tool item is always a marker and never a tool
- 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.DrawPointAction
{String}
id
The id of the ToolItem
{Number}
imageHeight
Height of the Image
- Default Value:
- 0
{String}
imageUrl
Url to image to be added to map control.
- Default Value:
- "images/pixel.gif"
{Number}
imageWidth
Width of the Image
- Default Value:
- 0
{Boolean}
isMarker
Whether tool item is a marker (drawn as graphic on screen) or tool (sends coordinates/request to server)
- Default Value:
- true
{String}
name
The name of the ToolItem
Method Detail
postAction(point)
This callback is called after adf.DrawPointAction is completed.
It draws an image at this point based ob image properties set by the constructor adf.MapImage
- Parameters:
- point