|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--GLOBALS
| Method Summary | |
<static> void
|
alphaBackgrounds()
|
<static> void
|
display(pid, name, value, id , sClass)
|
<static> Object
|
mq_display_distance(totalDistance)
|
<static> Object
|
mq_display_time(totalTime)
|
<static> Object
|
mq_ParamExists(varname)
|
<static> Object
|
mqAddEvent(fObj, fEvent, fn)
=ADD EVENT |
<static> Object
|
mqBuildUrl(strQueryData)
*************************************************************************** |
<static> Object
|
mqCreateA(container, href, title)
|
<static> Object
|
mqCreateDiv(container, className, id)
|
<static> void
|
mqCreateFormInput(container, id, spanClass, labelTxt, type, name, value, size, maxLength)
|
<static> Object
|
mqCreateFormSelect(container, id, spanClass, labelTxt, name, elements, node)
|
<static> void
|
mqCreateHiddenInput(form, id, name, value)
|
<static> Object
|
mqCreateImg(container, src, width, height, id, name, alt)
|
<static> Object
|
mqCreateImgDiv(container, src, width, height, id, name, alt)
|
<static> void
|
mqCreateInput(container, id, type, name, value, size, maxLength)
|
<static> Object
|
mqCreateNSManager(namespace)
|
<static> Object
|
mqCreateSpan(container, className, id)
|
<static> <private> Document
|
mqCreateXMLDoc(strXML)
Crossbrowser wrapper to create an xml document object from a given string |
<static> Object
|
mqCreateXMLDocFromNode(ndNewRoot)
|
<static> Object
|
mqCreateXMLDocImportNode(ndNewRoot)
|
<static> void
|
mqDoRemote(strQueryData, strDivName, strParentTagName, mqObj)
|
<static> Object
|
mqFormatNumber(num,dec)
*************************************************************************** |
<static> Object
|
mqGetAdvantageMapPath(transaction)
|
<static> Object
|
mqGetAdvantageResultPath(transaction)
|
<static> <private> MQBrowser
|
mqGetBrowserInfo()
Get Browser info for functions. |
<static> Object
|
mqGetElementById(fId)
=GET ELEMENT BY ID |
<static> Object
|
mqGetEventData(evt)
=GET EVENT DATA |
<static> Object
|
mqGetGuid()
|
<static> <private> Node
|
mqGetNode(xmlDoc, strPath)
Crossbrowser wrapper used to return a node object given a specified xpath expression: ie xml doc |
<static> <private> String
|
mqGetNodeText(domNode)
crossbrowser wrapper used to return the text of a given node ie loop on all |
<static> Object
|
mqGetPDivSize( pMQMapObject )
=GET parentDiv SIZE |
<static> <private> String
|
mqGetXPathNodeText(xmlDoc, strPath)
crossbrowser wrapper used to return the text of a given node given a specified xpath expression: ie xml doc |
<static> Object
|
mqGetXY(evt)
GET XY |
<static> Boolean
|
mqIsClass(strClassName, newObj, allowNull)
Utility function to wrap null and class type errors |
<static> Object
|
mqLimitDisplay()
|
<static> void
|
mqLogTime(str)
|
<static> void
|
mqPause(numberMillis)
|
<static> Object
|
mqPrepareMapUrl(strmapUrl)
|
<static> void
|
mqRemoveEvent(fObj, fEvent, fn)
=REMOVE EVENT |
<static> <private> Node
|
mqReplaceElementNode(xmlDoc, nodeDoc, xpath)
Used by saveXml method to replace a node using an XPath expr |
<static> <private> Node
|
mqReplaceNode(xmlDoc,node,strTxt)
Used by mqSetNodeText after it finds the node using an XPath expr, so other funcs that have a nodeList can set text on each node in a loop |
<static> void
|
mqResetTimeLogs()
|
<static> <private> Node
|
mqSetNodeText(xmlDoc,strXPath,strTxt)
Used to replace/add text to an existing node ie |
<static> void
|
mqSetPDivSize( pMQMapObject, size )
=SET parentDiv SIZE |
<static> void
|
mqTransformXMLFromNode(ndXml,strXsl,dvParent)
|
<static> void
|
mqTransformXMLFromString(strXml,strXsl,dvParent)
|
<static> Object
|
mqurlencode(strVal)
urlencode used to fix url before server call |
<static> Object
|
mqUrlLimit()
|
<static> Object
|
mqXMLHttpRequest()
=HTTP XML REQUEST |
<static> void
|
MQXmlNodeObject( strName, strValue )
|
<static> <private> String
|
mqXmlToStr(xmlDoc)
Crossbrowser wrapper to convert an xml document object into a string |
| Method Detail |
<static> void alphaBackgrounds()
<static> void display(pid, name, value, id , sClass)
<static> Object mq_display_distance(totalDistance)
<static> Object mq_display_time(totalTime)
<static> Object mq_ParamExists(varname)
<static> Object mqAddEvent(fObj, fEvent, fn)
<static> Object mqBuildUrl(strQueryData)
<static> Object mqCreateA(container, href, title)
<static> Object mqCreateDiv(container, className, id)
<static> void mqCreateFormInput(container, id, spanClass, labelTxt, type, name, value, size, maxLength)
<static> Object mqCreateFormSelect(container, id, spanClass, labelTxt, name, elements, node)
<static> void mqCreateHiddenInput(form, id, name, value)
<static> Object mqCreateImg(container, src, width, height, id, name, alt)
<static> Object mqCreateImgDiv(container, src, width, height, id, name, alt)
<static> void mqCreateInput(container, id, type, name, value, size, maxLength)
<static> Object mqCreateNSManager(namespace)
<static> Object mqCreateSpan(container, className, id)
<static> <private> Document mqCreateXMLDoc(strXML)
String - strXML String to be converted into a Xml Document
<static> Object mqCreateXMLDocFromNode(ndNewRoot)
<static> Object mqCreateXMLDocImportNode(ndNewRoot)
<static> void mqDoRemote(strQueryData, strDivName, strParentTagName, mqObj)
<static> Object mqFormatNumber(num,dec)
<static> Object mqGetAdvantageMapPath(transaction)
<static> Object mqGetAdvantageResultPath(transaction)
<static> <private> MQBrowser mqGetBrowserInfo()
<static> Object mqGetElementById(fId)
<static> Object mqGetEventData(evt)
<static> Object mqGetGuid()
<static> <private> Node mqGetNode(xmlDoc, strPath)
Document - xmlDoc Xml Document to be searched
String - strPath Path to search for in xmlDoc
<static> <private> String mqGetNodeText(domNode)
Node - domNode Node to extract the text from
<static> Object mqGetPDivSize( pMQMapObject )
<static> <private> String mqGetXPathNodeText(xmlDoc, strPath)
Document - xmlDoc Xml Document to be searched
String - strPath XPath where the text is
<static> Object mqGetXY(evt)
<static> Boolean mqIsClass(strClassName, newObj, allowNull)
<static> Object mqLimitDisplay()
<static> void mqLogTime(str)
<static> void mqPause(numberMillis)
<static> Object mqPrepareMapUrl(strmapUrl)
<static> void mqRemoveEvent(fObj, fEvent, fn)
<static> <private> Node mqReplaceElementNode(xmlDoc, nodeDoc, xpath)
Document - xmlDoc Xml Document to be added to
Node - nodeDoc Xml node to be replaced
String - xpath Xpath to node being replaced
<static> <private> Node mqReplaceNode(xmlDoc,node,strTxt)
Document - xmlDoc Xml Document to be added to
Node - node Xml node to be replaced
String - strTxt text to add in the node
<static> void mqResetTimeLogs()
<static> <private> Node mqSetNodeText(xmlDoc,strXPath,strTxt)
Document - xmlDoc Xml Document to be changed
String - strXPath XPath where the text is to be set
String - strTxt Text to change in the node
<static> void mqSetPDivSize( pMQMapObject, size )
<static> void mqTransformXMLFromNode(ndXml,strXsl,dvParent)
<static> void mqTransformXMLFromString(strXml,strXsl,dvParent)
<static> Object mqurlencode(strVal)
<static> Object mqUrlLimit()
<static> Object mqXMLHttpRequest()
<static> void MQXmlNodeObject( strName, strValue )
<static> <private> String mqXmlToStr(xmlDoc)
Document - xmlDoc Xml Document to be converted into a string
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||