Packagecom.mapquest
Classpublic class CenterLatLng
InheritanceCenterLatLng Inheritance MapCommand Inheritance MQObject

Stores data to center the maps on a given point specified with a latitude/longitude point.



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 CenterLatLng object.
CenterLatLng
  
Returns the m_Center.
CenterLatLng
  
getClassName():String
Returns the text name of this class.
CenterLatLng
  
Returns the version of this class.
CenterLatLng
 Inherited
getProperty(path:String):String
Gets values from xml.
MQObject
 Inherited
Create a copy of this object.
MQObject
 Inherited
MQObject
 Inherited
MQObject
  
loadXml(xmlPrm:XML):void
Assigns the xml that relates to this object.
CenterLatLng
 Inherited
readExternal(input:IDataInput):void
MQObject
  
saveXml():XML
Build xml that represents this object.
CenterLatLng
  
setCenter(ll:LatLng):void
Sets the m_Center.
CenterLatLng
 Inherited
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
CenterLatLng()constructor
public function CenterLatLng()

Constructs a new CenterLatLng object.

See also

Method detail
getCenter()method
public function getCenter():LatLng

Returns the m_Center.

Returns
LatLng — The m_Center.
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.
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.
setCenter()method 
public function setCenter(ll:LatLng):void

Sets the m_Center.

Parameters
ll:LatLng — The LatLng to set m_Center to.