JavaScript_Library.htm is intended to help familiarize you with the JavaScript functions that are used by the ArcGIS Server Application Developer Framework (ADF). The objectives of this file are to:
|
Parameters:
controlname - Name of Map WebControl
parentIndex - Index of parent PageLayout WebControl. If none, value is zero.
index - Index of Map WebControl
left - Left edge of DIV object
top - Top edge of DIV object
width - Width of DIV object
height - Height of DIV object
uniquedivid - Id of DIV object
dragBoxColor - Color of associated ZoomBox/DragBox DIV object
dragLineWidth - Width of associated ZoomBox/DragBox DIV object lines
Parameters:
name - Name of new DIV object
inleft - Left position coordinate of DIV object
intop - Top position coordinate of DIV object
width - Width of DIV object
height - Height of DIV object
visible - Starting visibility of DIV object (true/false)
content - Contents of DIV object, usually a string of HTML
classname - Name of class to be included as an attribute of the DIV object, if any
Parameters:
name - Name of new DIV object
inleft - Left position coordinate of DIV object
intop - Top position coordinate of DIV object
width - Width of DIV object
height - Height of DIV object
visible - Starting visibility of DIV object (true/false)
content - Contents of DIV tag, usually a string of HTML
classname - Name of class to be included as an attribute of the DIV object, if any
style - Name of style to be used as the style attribute of the DIV object, if any
Parameters:
name - Name of new DIV object
inleft - Left position coordinate of DIV object
intop - Top position coordinate of DIV object
width - Width of DIV object
heigh - Height of DIV object
visible - Starting visibility of DIV object (true/false)
content - Contents of DIV object, usually a string of HTML
classname - Name of class to be included as an attribute of the DIV object, if any
mousedownevt - Name of function, if any, to handle MouseDown events
mouseupevt - Name of function, if any, to handle MouseUp events
mousemoveevt - Name of function, if any, to handle MouseMove events
mouseoverevt - Name of function, if any, to handle MouseOver events
mouseoutevt - Name of function, if any, to handle MouseOut events
Parameters:
name - Name of DIV object
Parameters:
name - Name of DIV object
Parameters:
name - Name of DIV object
Parameters:
name - Name of DIV object
color - Color to be used. Any acceptable HTML color value
Parameters:
name - Name of DIV object
zvalue - Z-Value number
Parameters:
name - Name of DIV object
Parameters:
name - Name of DIV object
Parameters:
name - Name of DIV object
x - New left position of DIV object
y - New top position of DIV object
Parameters:
e - Event captured by browser
Parameters:
name - Name of DIV object
clipleft - Left edge of DIV object
cliptop - Top edge of DIV object
clipright - Right edge of DIV object
clipbottom - Bottom edge of DIV object
Parameters:
name - Name of DIV object
clipleft - Left edge of DIV object
cliptop - Top edge of DIV object
clipright - Right edge of DIV object
clipbottom - Bottom edge of DIV object
Parameters:
None.
Parameters:
None.
Parameters:
None.
Parameters:
e - Event captured by browser
Parameters:
color - Color value to ve converted.
Parameters:
mode - Tool mode
Parameters:
elementId - Id of element.
Parameters:
control - Control to postback to
eventArg - Event argument to pass to control
Parameters:
imagePath - Web path to the directory where the image is located
Parameters:
None.
Parameters:
None.
Parameters:
image - Web path of the transparent image file used by the ZoomBox/DragBox
Parameters:
inSize - Line width size
Parameters:
left - The left coordinate of the rectangle
top - The top coordinate of the rectangle
right - The right coordinate of the rectangle
bottom - The bottom coordinate of the rectangle
color - The color of the rectangle
Parameters:
None.
Parameters:
left - The left coordinate of the rectangle
top - The top coordinate of the rectangle
right - The right coordinate of the rectangle
bottom - The bottom coordinate of the rectangle
color - The color of the rectangle
size - The width of the border
Parameters:
None.
Parameters:
None.
Parameters:
None.
Parameters:
None.
Parameters:
None.
Parameters:
color - Color to be used. Any acceptable HTML color value
Parameters:
divleft - Left position of the new DIV object
divtop - Top position of the new DIV object
divwidth - Width of the new DIV object
divheight - Height of the new DIV object
Parameters:
divleft - Left position of the new DIV object
divtop - Top position of the new DIV object
divwidth - Width of the new DIV object
divheight - Height of the new DIV object
divcolor - Color to be used. Any acceptable HTML color value
Parameters:
inX - Left position of the start point of line
inY - Top position of the start point of line
inX2 - Left position of the end point of line
inY2 - Top position of the end point of line
Parameters:
inX - Left position of the start point of line
inY - Top position of the start point of line
inX2 - Left position of the end point of line
inY2 - Top position of the end point of line
Parameters:
xArray - Array of x coordinates of points defining the polyline
yArray - Array of y coordinates of points defining the polyline
Parameters:
xArray - Array of x coordinates of points defining the polyline
yArray - Array of y coordinates of points defining the polyline
Parameters:
xArray - Array of x coordinates of points defining the polygon
yArray - Array of y coordinates of points defining the polygon
Parameters:
xArray - Array of x coordinates of points defining the polygon
yArray - Array of y coordinates of points defining the polygon
Parameters:
ovleft - Left position of the oval
ovtop - Top position of the oval
inwidth - Width of the oval
inheight - Height of the oval
Parameters:
ovleft - Left position of the oval
ovtop - Top position of the oval
inwidth - Width of the oval
inheight - Height of the oval
Parameters:
centerx - X-coordinate of centroid of the oval
centery - Y-coordinate of centroid of the oval
dleft - Left offset of oval element
dright - Right offset of oval element
dtop - Top offset of oval element
dbottom - Bottom offset of oval element
dwidth - Width of oval element
dheight - Height of oval element
Parameters:
centerX - X-coordinate of centroid of the circle
centerY - Y-coordinate of centroid of the circle
radius - Radius of the circle
addcrosshair - Add a crosshair to the circle at the centroid? (true/false)
Parameters:
leftX - Left X-coordinate of the box
topY - Top Y-coordinate of the box
rightX - Right X-coordinate of the box
bottomY - Bottom Y-coordinate of the box
Parameters:
divid - Id of the DIV object that will contain vector elements
Parameters:
controlname - Name of Map WebControl
inleft - Left position of DIV object associated with controlname
intop - Top position of DIV object associated with controlname
inwidth - Width of DIV object associated with controlname
inheight - Height of DIV object associated with controlname
Parameters:
None.
Parameters:
mapIndex - Index of the Map WebControl
control - Id of the Map WebControl
imageurl - Path of image created by Map WebControl
cellname - Id of DIV object in which the Map DIV objects will be inserted
tooltip - String to be applied to the ToolTip of the DIV object
Parameters:
divid - Id of Map WebControl
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of Map WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
mouseDownFunction - The function to call on mouse down
clickFunction - The function to call on click
cursor - The cursor
vectormode - Vector mode as a number: 0=Line; 1=Polyline; 2=Polygon; 3=Circle; 4=Oval; -1= Not a vector.
vectorToolbarState - Whether the vector toolbar is visible. Values: "visible" or "hidden"
statusMessage - The message to display in the status bar.
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
controlname - Id of Overview WebControl
index - Index of Overview DIV object
width - Width of Overview DIV object
height - Height of Overview DIV object
uniqueid - Unique Id for Overview DIV object
boxleft - Left position of AOI box in Overview DIV object
boxtop - Top position of AOI box in Overview DIV object
boxwidth - Width of AOI box in Overview DIV object
boxheight - Height of AOI box in Overview DIV object
boxcolor - Color of AOI box in Overview DIV object
linewidth - Line width of AOI box in Overview DIV object
Parameters:
ovIndex - Index of Overview DIV object
control - Unique Id for Overview DIV object
imageurl - Web path of image to be displayed in Overview DIV object
blankurl - Web path of transparent image used by AOI box in Overview DIV object
tooltip - String to be used by DIV ToolTip
cellname - Id of DIV object in which the Overview DIV objects will be inserted
Parameters:
None.
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
None.
Parameters:
controlname - ID of PageLayout WebControl
width - Width of DIV object
height - Height of DIV object
maparray - Array of Map parameters
dragBoxColor - Color of associated ZoomBox/DragBox DIV object
dragLineWidth - Width of associated ZoomBox/DragBox DIV object
Parameters:
i - Index of Map within the PageLayout
blankImage - Path of transparent image file
cellname - Id of DIV object in which the PageLayout DIV objects will be inserted
tooltip - String inserted in the image's Alt attribute
Parameters:
divid - Id of PageLayout WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of PageLayout WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of PageLayout WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of PageLayout WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of PageLayout WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of PageLayout WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
Parameters:
divid - Id of PageLayout WebControl
mode - Tool identifier to be passed to server-side application
showLoading - Display Loading banner (true/false)
pageMouseDownFunction - The function to call when the mouse goes down on the page layout.
mapMouseDownFunction - The function to call when the mouse goes down on the maps in the page layout.
cursor - The cursor.
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
e - Event captured by browser
Parameters:
name - Name of toolbar
toolbarStyle - Type of toolbar (ImageOnly, TextOnly, ImageAndText)
defaultStyle - String containing text to be used in style attribute used by default
selectedStyle - String containing text to be used in style attribute used by selected toolbar item.
hoverStyle - String containing text to be used in style attribute used when cursor hovers over a toolbar item.
tools - String containing list of tool names, separated by commas
commands - String containing list of commands, separated by commas
buddyControls - String containing list of Controls that the toolbar will be buddied with
itemArray - Name of array containing objects associated with the toolbar items
Parameters:
name - Name of the group.
toolbars - String containing names of the toolbars making up the toolbar group separated by commas.
Parameters:
name - Name of toolbar item
defaultImage - Path of image to be used by default
selectedImage - Path of image to be used when the item is the selected toolbar item.
hoverImage - Path of image to be used when the cursor hovers over the toolbar item
clientToolAction - Name of ClientToolAction to be associated with toolbar item
sClientToolActionCustom - Is a custom ClientToolAction (true/false)
showLoading - Display Loading banner (true/false)
Parameters:
toolbarName - Name of toolbar
toolbarItemName - Name of toolbar item
buttonType - "Tool", "Command" or "HtmlCommand"
Parameters:
toolbarName - Name of toolbar
toolbarItemName - Name of toolbar item
Parameters:
toolbarName - Name of toolbar
toolbarItemName - Name of toolbar item
Parameters:
toolbarName - Name of toolbar
Parameters:
toolbarName - Name of toolbar
Parameters:
toolbarName - Name of toolbar