MapQuest Advantage JavaScript API Reference Documentation

Class MQRadiusSearchCriteria

Object
   |
   +--MQObject
         |
         +--MQSearchCriteria
               |
               +--MQRadiusSearchCriteria

class MQRadiusSearchCriteria
extends MQSearchCriteria


Defines the criteria for a radius search. The radius to be searched is defined by the latitude/longitude of the Center and the radius of the circle.
See:

Defined in mqobjects.js


Field Summary
<private>  MQLatLng m_MQLatLng
          Value to represent the MQLatLng
   
Fields inherited from class MQObject
m_xmlDoc, m_xpath
 
Constructor Summary
MQRadiusSearchCriteria ()
            Constructs a new MQRadiusSearchCriteria object.
 
Method Summary
 MQLatLng getCenter()
           Returns the Center (latitude/longitude) of the circle which defines the extent of the search area.
 String getClassName()
           Returns the text name of this class.
 int getObjectVersion()
           Returns the version of this class.
 Double getRadius(<MQDistanceUnits> lUnits)
           Returns the radius of the circle which defines the extent of the search area.
 void loadXml(<String> strXml)
           Assigns the xml that relates to this object.
 String saveXml()
           Build an xml string that represents this object.
 void setCenter(<MQLatLng> latLng)
           Sets the latitude and longitude values of the Center point of the circle which defines the extent of the search area.
 void setRadius(<Double> radius, <MQDistanceUnits> lUnits)
           Sets the radius of the circle which defines the extent of the search area.
 
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_MQLatLng

<private> MQLatLng m_MQLatLng

Constructor Detail

MQRadiusSearchCriteria

MQRadiusSearchCriteria()

Method Detail

getCenter

MQLatLng getCenter()

getClassName

String getClassName()

getObjectVersion

int getObjectVersion()

getRadius

Double getRadius(<MQDistanceUnits> lUnits)

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setCenter

void setCenter(<MQLatLng> latLng)

setRadius

void setRadius(<Double> radius, <MQDistanceUnits> lUnits)

MapQuest Advantage JavaScript API Reference Documentation

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