|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQPrimitive
|
+--MQRectanglePrimitive
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> 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 |
<private> MQLatLng |
m_LowerRightLL
Value to represent the latitude/longitude of the lower right corner |
<private> MQPoint |
m_LowerRightPT
Value to represent the x/y of the lower right corner |
<private> MQPenStyle |
m_Style
Value to represent the pen style to be used |
<private> MQLatLng |
m_UpperLeftLL
Value to represent the latitude/longitude of the upper left corner |
<private> MQPoint |
m_UpperLeftPT
Value to represent the x/y of the upper left corner |
| Fields inherited from class MQPrimitive |
m_DrawTrigger, m_CoordinateType
|
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQRectanglePrimitive
()
Constructs a new MQRectanglePrimitive object. |
|
| Method Summary | |
String
|
getClassName()
Returns the text name of this class. |
MQColorStyle
|
getColor()
Gets the m_Color |
MQColorStyle
|
getFillColor()
Gets the m_FillColor |
MQFillStyle
|
getFillStyle()
Gets the m_FillStyle |
MQLatLng
|
getLowerRightLatLng()
Gets the latitude/longitude of the lower right corner |
MQPoint
|
getLowerRightPoint()
Gets the x/y of the lower right corner |
int
|
getObjectVersion()
Returns the version of this class. |
MQPenStyle
|
getStyle()
Gets the m_Style |
MQLatLng
|
getUpperLeftLatLng()
Gets the latitude/longitude of the upper left corner. |
MQPoint
|
getUpperLeftPoint()
Gets the x/y of the upper left corner. |
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
|
setFillColor(<MQColorStyle> obj)
Sets the m_FillColor |
void
|
setFillStyle(<MQFillStyle> obj)
Sets the m_FillStyle |
void
|
setLowerRightLatLng(<MQLatLng> latLng)
Sets the latitude/longitude of the lower right corner |
void
|
setLowerRightPoint(<MQPoint> point)
Sets the x/y of the lower right corner |
void
|
setStyle(<MQPenStyle> obj)
Sets the m_Style |
void
|
setUpperLeftLatLng(<MQLatLng> latLng)
Sets the latitude/longitude of the upper left corner. |
void
|
setUpperLeftPoint(<MQPoint> point)
Sets the x/y of the upper left corner. |
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> MQColorStyle m_FillColor
<private> MQFillStyle m_FillStyle
<private> MQLatLng m_LowerRightLL
<private> MQPoint m_LowerRightPT
<private> MQPenStyle m_Style
<private> MQLatLng m_UpperLeftLL
<private> MQPoint m_UpperLeftPT
| Constructor Detail |
MQRectanglePrimitive()
| Method Detail |
String getClassName()
MQColorStyle getColor()
MQColorStyle getFillColor()
MQFillStyle getFillStyle()
MQLatLng getLowerRightLatLng()
MQPoint getLowerRightPoint()
int getObjectVersion()
MQPenStyle getStyle()
MQLatLng getUpperLeftLatLng()
MQPoint getUpperLeftPoint()
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 setFillColor(<MQColorStyle> obj)
obj - the MQColorStyle to set m_FillColor to.
void setFillStyle(<MQFillStyle> obj)
obj - the MQFillStyle to set m_FillStyle to.
void setLowerRightLatLng(<MQLatLng> latLng)
latLng - the MQLatLng to set m_LowerRightLL to.
void setLowerRightPoint(<MQPoint> point)
point - the MQPoint to set m_LowerRightPT to.
void setStyle(<MQPenStyle> obj)
obj - the MQPenStyle to set m_Style to.
void setUpperLeftLatLng(<MQLatLng> latLng)
latLng - the MQLatLng to set m_UpperLeftLL to.
void setUpperLeftPoint(<MQPoint> point)
point - the MQPoint to set m_UpperLeftPT 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 | ||||||||