|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQMapCommand
|
+--MQCenter
Centers a map based on a mouse click. The new center point is
calculated in pixels and stored in the X and Y coordinates of this
object.
See:
| Field Summary | |
<private> MQPoint |
m_Center
Value to represent center of the map |
| Fields inherited from class MQMapCommand |
m_Col
|
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQCenter
()
Constructs a new MQCenter object. |
|
| Method Summary | |
MQPoint
|
getCenter()
Returns the m_Center. |
String
|
getClassName()
Returns the text name of this class. |
int
|
getObjectVersion()
Returns the version of this class. |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setCenter(<MQPoint> pt)
Sets the m_Center. |
| Methods inherited from class MQMapCommand |
getFeatureSpecifiers, setFeatureSpecifiers
|
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
|
| Field Detail |
<private> MQPoint m_Center
| Constructor Detail |
MQCenter()
| Method Detail |
MQPoint getCenter()
String getClassName()
int getObjectVersion()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setCenter(<MQPoint> pt)
pt - The point to set m_Center to.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||