Packagecom.mapquest
Classpublic class MapCommand
InheritanceMapCommand Inheritance MQObject
SubclassesBestFit, BestFitLL, Center, CenterLatLng, Pan, ZoomIn, ZoomOut, ZoomTo, ZoomToRect, ZoomToRectLatLng

Allows actions (such as panning, zooming in, and zooming out) to be performed on a map.



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 MapCommand object.
MapCommand
  
getClassName():String
Returns the text name of this class.
MapCommand
  
Returns the version of this class.
MapCommand
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
 Inherited
loadXml(xml:XML):void
New XML Handler
MQObject
 Inherited
readExternal(input:IDataInput):void
MQObject
 Inherited
saveXml():XML
New XML Handler
MQObject
  
Sets the m_Col object.
MapCommand
 Inherited
setProperty(path:String, value:Object):String
Sets values in xml.
MQObject
 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
MapCommand()constructor
public function MapCommand()

Constructs a new MapCommand 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.
setFeatureSpecifiers()method 
public function setFeatureSpecifiers(col:FeatureSpecifierCollection):void

Sets the m_Col object.

Parameters
col:FeatureSpecifierCollection — col the FeatureSpecifierCollection to set m_Col to.