|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQPrimitive
|
+--MQLinePrimitive
Describes linear annotations to be placed on the map. The line is
converted into latitude/longitude points so it can be placed in the
same geographical location after the map is manipulated.
See:
| Field Summary | |
<private> MQColorStyle |
m_Color
Value to represent the color style to be used |
<private> MQLatLngCollection |
m_LLArray
The MQLatLngCollection of coordinates of the Line. |
<private> MQPenStyle |
m_Style
Value to represent the pen style to be used |
<private> MQPointCollection |
m_XYArray
The MQPointCollection of coordinates of the Line. |
| Fields inherited from class MQPrimitive |
m_DrawTrigger, m_CoordinateType
|
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQLinePrimitive
()
Constructs a new MQLinePrimitive object. |
|
| Method Summary | |
String
|
getClassName()
Returns the text name of this class. |
MQColorStyle
|
getColor()
Gets the m_Color |
MQLatLngCollection
|
getLatLngs()
Gets the m_LLArray |
int
|
getObjectVersion()
Returns the version of this class. |
MQPointCollection
|
getPoints()
Gets the m_XYArray |
MQPenStyle
|
getStyle()
Gets the m_Style |
int
|
getWidth()
Returns the value representing the width of this object. |
void
|
loadXml(<String> strXml)
Assigns the xml that relates to this object. |
String
|
saveXml()
Build an xml string that represents this object. |
void
|
setColor(<MQColorStyle> obj)
Sets the m_Color |
void
|
setLatLngs(<MQLatLngCollection> obj)
Sets the m_LLArray |
void
|
setStyle(<MQPenStyle> obj)
Sets the m_Style |
void
|
setWidth(<int> width)
Sets the value representing the width of this object. |
| 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> MQColorStyle m_Color
<private> MQLatLngCollection m_LLArray
<private> MQPenStyle m_Style
<private> MQPointCollection m_XYArray
| Constructor Detail |
MQLinePrimitive()
| Method Detail |
String getClassName()
MQColorStyle getColor()
MQLatLngCollection getLatLngs()
int getObjectVersion()
MQPointCollection getPoints()
MQPenStyle getStyle()
int getWidth()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setColor(<MQColorStyle> obj)
obj - the MQColorStyle to set m_Color to.
void setLatLngs(<MQLatLngCollection> obj)
obj - the MQLatLngCollection to set m_LLArray to.
void setStyle(<MQPenStyle> obj)
obj - the MQPenStyle to set m_Style to.
void setWidth(<int> width)
width - The new Width to be assigned to this object.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||