Packagecom.mapquest
Classpublic class PolySearchCriteria
InheritancePolySearchCriteria Inheritance SearchCriteria Inheritance MQObject
SubclassesCorridorSearchCriteria

Defines the criteria for a poly search based on a collection of LatLngs

See also

LatLngCollection


Public Properties
 PropertyDefined by
 InheritedCLASS_NAME : String = "MQObject"
[static]
MQObject
Protected Properties
 PropertyDefined by
 InheritedobjectVersion : Number = 0
Value to represent the version of this object
MQObject
 Inheritedxml : XML = null
MQObject
 Inheritedxpath : String
MQObject
Public Methods
 MethodDefined by
  
Constructs a new PolySearchCriteria object.
PolySearchCriteria
  
getClassName():String
Returns the text name of this class.
PolySearchCriteria
 Inherited
Gets the data member of this object which indicates the maximum number of matches that are to be returned by the search.
SearchCriteria
  
Returns the version of this class.
PolySearchCriteria
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
  
Returns the m_LatLngs object.
PolySearchCriteria
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
  
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
PolySearchCriteria
 Inherited
readExternal(input:IDataInput):void
MQObject
  
saveXml():XML
Build xml that represents this object.
PolySearchCriteria
 Inherited
setMaxMatches(nMax:int):void
Sets the data member of this object which indicates the maximum number of matches that are to be returned by the search.
SearchCriteria
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
  
Sets the m_LatLngs object.
PolySearchCriteria
 Inherited
setXpath(xpath:String):void
Sets the m_xpath object.
MQObject
 Inherited
writeExternal(output:IDataOutput):void
MQObject
Protected Methods
 MethodDefined by
 Inherited
getXML():XML
Returns the m_xmlDoc object.
MQObject
 Inherited
getXpath():String
Returns the xpath string.
MQObject
 Inherited
setXML(xml:XML):void
Sets the m_xmlDoc object.
MQObject
Constructor detail
PolySearchCriteria()constructor
public function PolySearchCriteria()

Constructs a new PolySearchCriteria object.

Method detail
getClassName()method
public override function getClassName():String

Returns the text name of this class.

Returns
String — The text name of this class.
getObjectVersion()method 
public override function getObjectVersion():Number

Returns the version of this class.

Returns
Number — The version of this class.
getShapePoints()method 
public function getShapePoints():LatLngCollection

Returns the m_LatLngs object.

Returns
LatLngCollection — The m_LatLngs object.
loadXml()method 
public override function loadXml(xmlPrm:XML):void

Assigns the xml that relates to this object.

Parameters
xmlPrm:XML — the xml to be assigned.
saveXml()method 
public override function saveXml():XML

Build xml that represents this object.

Returns
XML — The xml.
setShapePoints()method 
public function setShapePoints(latLngs:LatLngCollection):void

Sets the m_LatLngs object.

Parameters
latLngs:LatLngCollection — latLngs the LatLngCollection to set m_LatLngs to.