|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQPrimitive
|
+--MQTextPrimitive
Describes text to be placed on the map. The text is initially
located by the X/Y coordinate. The coordinate is converted into a
latitude/longitude point so the annotation can be placed in the
same geographical location after the map is manipulated.
See:
| Field Summary | |
<private> MQColorStyle |
m_bgdColor
Value to represent the background color style to be used |
<private> MQColorStyle |
m_color
Value to represent the color style to be used |
<private> MQColorStyle |
m_lBoxOutlineColor
Value to represent the box outline color style to be used |
<private> MQLatLng |
m_ll
Value to represent the latitude/longitude of the upper left of the map |
<private> MQColorStyle |
m_lOutlineColor
Value to represent the outline color style to be used |
<private> MQFontStyle |
m_nStyle
Value to represent the font style to be used |
<private> MQPoint |
m_pt
Value to represent the x/y of the upper left of the map |
| Fields inherited from class MQPrimitive |
m_DrawTrigger, m_CoordinateType
|
| Fields inherited from class MQObject |
m_xmlDoc, m_xpath
|
| Constructor Summary | |
MQTextPrimitive
()
Constructs a new MQTextPrimitive object. |
|
| Method Summary | |
MQColorStyle
|
getBkgdColor()
Gets the background color. |
MQColorStyle
|
getBoxOutlineColor()
Gets the box outline color. |
String
|
getClassName()
Returns the text name of this class. |
MQColorStyle
|
getColor()
Gets the color. |
String
|
getFontName()
Returns the FontName of this object. |
int
|
getFontSize()
Returns the FontSize of this object. |
int
|
getMargin()
Returns the Margin of this object. |
int
|
getObjectVersion()
Returns the version of this class. |
MQColorStyle
|
getOutlineColor()
Gets the outline color. |
MQFontStyle
|
getStyle()
Gets the font style. |
String
|
getText()
Returns the Text of this object. |
int
|
getTextAlignment()
Returns the TextAlignment of this object. |
MQLatLng
|
getUpperLeftLatLng()
Gets the latitude/longitude of the upper left of the map |
MQPoint
|
getUpperLeftPoint()
Gets the x/y of the upper left of the map |
int
|
getWidth()
Returns 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
|
setBkgdColor(<MQColorStyle> obj)
Sets the background color. |
void
|
setBoxOutlineColor(<MQColorStyle> obj)
Sets the box outline color. |
void
|
setColor(<MQColorStyle> obj)
Sets the color. |
void
|
setFontName(<String> str)
Sets the FontName of this object. |
void
|
setFontSize(<int> val)
Sets the FontSize of this object. |
void
|
setMargin(<int> val)
Sets the Margin of this object. |
void
|
setOutlineColor(<MQColorStyle> obj)
Sets the outline color. |
void
|
setStyle(<MQFontStyle> obj)
Sets the font style. |
void
|
setText(<String> str)
Sets the Text of this object. |
void
|
setTextAlignment(<int> val)
Sets the TextAlignment of this object. |
void
|
setUpperLeftLatLng(<MQLatLng> latLng)
Sets the latitude/longitude of the upper left of the map |
void
|
setUpperLeftPoint(<MQPoint> point)
Sets the x/y of the upper left of the map |
void
|
setWidth(<int> val)
Sets 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_bgdColor
<private> MQColorStyle m_color
<private> MQColorStyle m_lBoxOutlineColor
<private> MQLatLng m_ll
<private> MQColorStyle m_lOutlineColor
<private> MQFontStyle m_nStyle
<private> MQPoint m_pt
| Constructor Detail |
MQTextPrimitive()
| Method Detail |
MQColorStyle getBkgdColor()
MQColorStyle getBoxOutlineColor()
String getClassName()
MQColorStyle getColor()
String getFontName()
int getFontSize()
int getMargin()
int getObjectVersion()
MQColorStyle getOutlineColor()
MQFontStyle getStyle()
String getText()
int getTextAlignment()
MQLatLng getUpperLeftLatLng()
MQPoint getUpperLeftPoint()
int getWidth()
void loadXml(<String> strXml)
strXml - the xml to be assigned.
String saveXml()
void setBkgdColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_bgdColor type to.
void setBoxOutlineColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_lBoxOutlineColor type to.
void setColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_color type to.
void setFontName(<String> str)
str - The new FontName of this object.
void setFontSize(<int> val)
val - The new FontSize of this object.
void setMargin(<int> val)
val - The new Margin of this object.
void setOutlineColor(<MQColorStyle> obj)
obj - The MQColorStyle to set m_lOutlineColor type to.
void setStyle(<MQFontStyle> obj)
obj - The MQFontStyle to set m_nStyle type to.
void setText(<String> str)
str - The new Text of this object.
void setTextAlignment(<int> val)
val - The new TextAlignment of this object.
void setUpperLeftLatLng(<MQLatLng> latLng)
latLng - The MQLatLng to set m_ll to.
void setUpperLeftPoint(<MQPoint> point)
point - The MQPoint to set m_pt to.
void setWidth(<int> val)
val - The new Width of this object.
|
MapQuest Advantage JavaScript API Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||