|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQPrimitive
|
+--MQSymbolPrimitive
Describes a SymbolPrimitive to be placed on a map. The SymbolPrimitive is initially
located by an X/Y coordinate. The coordinate is converted into a
latitude/longitude point so the SymbolPrimitive can be placed in the same
geographical location after the map is manipulated.
See:
| Field Summary | |
<private> MQLatLng |
m_ll
Value to represent the latitude/longitude of the center of the map |
<private> MQPoint |
m_pt
Value to represent the x/y of the center of the map |
<private> MQSymbolType |
m_SymbolType
Value to for symbol type |
| Fields inherited from class MQPrimitive |
m_DrawTrigger, m_CoordinateType
|
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQSymbolPrimitive
()
Constructs a new MQSymbolPrimitive object. |
|
| Method Summary | |
MQLatLng
|
getCenterLatLng()
Gets the latitude/longitude of the center of the map |
MQPoint
|
getCenterPoint()
Gets the x/y of the center of the map |
String
|
getClassName()
Returns the text name of this class. |
int
|
getObjectVersion()
Returns the version of this class. |
String
|
getSymbolName()
Returns the value representing the symbolName of this object. |
MQSymbolType
|
getSymbolType()
Gets the m_SymbolType |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setCenterLatLng(<MQLatLng> latLng)
Sets the latitude/longitude of the center of the map |
void
|
setCenterPoint(<MQPoint> point)
Sets the x/y of the center of the map |
void
|
setSymbolName(<String> symbolName)
Sets the value representing the symbolName of this object. |
void
|
setSymbolType(<MQSymbolType> obj)
Sets the m_SymbolType |
| Methods inherited from class MQPrimitive |
getDrawTrigger, setDrawTrigger, getCoordinateType, setCoordinateType, setKey, getKey, setOpacity, getOpacity
|
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, setProperty, getProperty, copy, internalCopy
|
| Field Detail |
<private> MQLatLng m_ll
<private> MQPoint m_pt
<private> MQSymbolType m_SymbolType
| Constructor Detail |
MQSymbolPrimitive()
| Method Detail |
MQLatLng getCenterLatLng()
MQPoint getCenterPoint()
String getClassName()
int getObjectVersion()
String getSymbolName()
MQSymbolType getSymbolType()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setCenterLatLng(<MQLatLng> latLng)
latLng - the MQLatLng to set m_ll to.
void setCenterPoint(<MQPoint> point)
point - the MQPoint to set m_pt to.
void setSymbolName(<String> symbolName)
symbolName - The new SymbolName to be assigned to this object.
void setSymbolType(<MQSymbolType> obj)
obj - the MQSymbolType to set m_SymbolType to.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||