MapQuest Advantage JavaScript API Reference Documentation

Class MQRectSearchCriteria

Object
   |
   +--MQObject
         |
         +--MQSearchCriteria
               |
               +--MQRectSearchCriteria

class MQRectSearchCriteria
extends MQSearchCriteria


Defines the criteria for a rectangle search. The rectangle to be searched is defined by the upper left and lower right corners of the rectangle.
See:

Defined in mqobjects.js


Field Summary
<private>  MQLatLng m_LowerRight
          Value to represent the latitude/longitude of the lower right corner
<private>  MQLatLng m_UpperLeft
          Value to represent the latitude/longitude of the upper left corner
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQRectSearchCriteria (<MQRectLL> mqRectLL)
            Constructs a new MQRectSearchCriteria object.
 
Method Summary
 String getClassName()
           Returns the text name of this class.
 MQLatLng getLowerRight()
           Gets the latitude/longitude of the lower right corner of this RectSearchCriteria object.
 int getObjectVersion()
           Returns the version of this class.
 MQLatLng getUpperLeft()
           Gets the latitude/longitude of the upper left corner of this RectSearchCriteria object.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setLowerRight(<MQLatLng> latLng)
           Sets the latitude/longitude of the lower right corner of this RectSearchCriteria object.
 void setUpperLeft(<MQLatLng> latLng)
           Sets the latitude/longitude of the upper left corner of this RectSearchCriteria object.
 
Methods inherited from class MQSearchCriteria
setMaxMatches, getMaxMatches
   
Methods inherited from class MQObject
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
 

Field Detail

m_LowerRight

<private> MQLatLng m_LowerRight

m_UpperLeft

<private> MQLatLng m_UpperLeft

Constructor Detail

MQRectSearchCriteria

MQRectSearchCriteria(<MQRectLL> mqRectLL)

Method Detail

getClassName

String getClassName()

getLowerRight

MQLatLng getLowerRight()

getObjectVersion

int getObjectVersion()

getUpperLeft

MQLatLng getUpperLeft()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setLowerRight

void setLowerRight(<MQLatLng> latLng)

setUpperLeft

void setUpperLeft(<MQLatLng> latLng)

MapQuest Advantage JavaScript API Reference Documentation

Documentation generated by JSDoc on Tue Oct 16 08:04:12 2007