|
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
|
+--MQPolygonPrimitive
Describes polygons to be placed on a map. The polygon is initially
defined with a collection of points. These points are the X,Y
coordinates of the vertices of the polygon. The coordinates are
converted into a latitude/longitude points so the annotation can be
placed in the same geographical location after the map is
manipulated.
See:
| Field Summary | |
<private> MQColorStyle |
m_FillColor
Value to represent the fill color style to be used |
<private> MQFillStyle |
m_FillStyle
Value to represent the color style to be used |
| Fields inherited from class MQLinePrimitive |
m_Color, m_Style, m_XYArray, m_LLArray
|
| Fields inherited from class MQPrimitive |
m_DrawTrigger, m_CoordinateType
|
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQPolygonPrimitive
()
Constructs a new MQPolygonPrimitive object. |
|
| Method Summary | |
String
|
getClassName()
Returns the text name of this class. |
MQColorStyle
|
getFillColor()
Gets the m_FillColor |
MQFillStyle
|
getFillStyle()
Gets the m_FillStyle |
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
|
setFillColor(<MQColorStyle> obj)
Sets the m_FillColor |
void
|
setFillStyle(<MQFillStyle> obj)
Sets the m_FillStyle |
| Methods inherited from class MQLinePrimitive |
getColor, setColor, getStyle, setStyle, getPoints, getLatLngs, setLatLngs, setWidth, getWidth
|
| 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_FillColor
<private> MQFillStyle m_FillStyle
| Constructor Detail |
MQPolygonPrimitive()
| Method Detail |
String getClassName()
MQColorStyle getFillColor()
MQFillStyle getFillStyle()
int getObjectVersion()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setFillColor(<MQColorStyle> obj)
obj - the MQColorStyle to set m_FillColor to.
void setFillStyle(<MQFillStyle> obj)
obj - the MQFillStyle to set m_FillStyle to.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||