MapQuest Advantage JavaScript API Reference Documentation

Class MQCorridorSearchCriteria

Object
   |
   +--MQObject
         |
         +--MQSearchCriteria
               |
               +--MQPolySearchCriteria
                     |
                     +--MQCorridorSearchCriteria

class MQCorridorSearchCriteria
extends MQPolySearchCriteria


Defines the criteria for a Corridor search. The corridor to be searched is defined by the latitude/longitude collection
See:

Defined in mqobjects.js


 
Fields inherited from class MQPolySearchCriteria
m_LatLngs
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQCorridorSearchCriteria ()
            Constructs a new MQCorridorSearchCriteria object.
 
Method Summary
 String getClassName()
           Returns the text name of this class.
 Boolean getCorrExactLinks()
           Returns the exactLinks-whether to use generalization in determining corridor
 Double getCorridorBufferWidth(<MQDistanceUnits> lUnits)
           Returns the width of the corridor buffer which defines the extent of the generalization.
 Double getCorridorWidth(<MQDistanceUnits> lUnits)
           Returns the width of the corridor which defines the extent of the search area.
 int getObjectVersion()
           Returns the version of this class.
 void setCorrExactLinks(<Boolean> bExactLinks)
           Sets exactLinks-whether to use generalization in determining corridor
 void setCorridorBufferWidth(<Double> dBufferWidth, <MQDistanceUnits> lUnits)
           Sets the buffer width which defines the amount to generalize.
 void setCorridorWidth(<Double> dCorrWidth, <MQDistanceUnits> lUnits)
           Sets the Corridor width (miles) which defines the extent of the search area.
 
Methods inherited from class MQPolySearchCriteria
getShapePoints, setShapePoints, loadXml, saveXml
   
Methods inherited from class MQSearchCriteria
setMaxMatches, getMaxMatches
   
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Constructor Detail

MQCorridorSearchCriteria

MQCorridorSearchCriteria()

Method Detail

getClassName

String getClassName()

getCorrExactLinks

Boolean getCorrExactLinks()

getCorridorBufferWidth

Double getCorridorBufferWidth(<MQDistanceUnits> lUnits)

getCorridorWidth

Double getCorridorWidth(<MQDistanceUnits> lUnits)

getObjectVersion

int getObjectVersion()

setCorrExactLinks

void setCorrExactLinks(<Boolean> bExactLinks)

setCorridorBufferWidth

void setCorridorBufferWidth(<Double> dBufferWidth, <MQDistanceUnits> lUnits)

setCorridorWidth

void setCorridorWidth(<Double> dCorrWidth, <MQDistanceUnits> lUnits)

MapQuest Advantage JavaScript API Reference Documentation

Documentation generated by JSDoc on Fri Oct 19 08:54:32 2007