MapQuest Advantage JavaScript API Reference Documentation

Class MQRectanglePrimitive

Object
   |
   +--MQObject
         |
         +--MQPrimitive
               |
               +--MQRectanglePrimitive
Direct Known Subclasses:
MQEllipsePrimitive

class MQRectanglePrimitive
extends MQPrimitive


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:

Defined in mqobjects.js


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

m_Color

<private> MQColorStyle m_Color

m_FillColor

<private> MQColorStyle m_FillColor

m_FillStyle

<private> MQFillStyle m_FillStyle

m_LowerRightLL

<private> MQLatLng m_LowerRightLL

m_LowerRightPT

<private> MQPoint m_LowerRightPT

m_Style

<private> MQPenStyle m_Style

m_UpperLeftLL

<private> MQLatLng m_UpperLeftLL

m_UpperLeftPT

<private> MQPoint m_UpperLeftPT

Constructor Detail

MQRectanglePrimitive

MQRectanglePrimitive()

Method Detail

getClassName

String getClassName()

getColor

MQColorStyle getColor()

getFillColor

MQColorStyle getFillColor()

getFillStyle

MQFillStyle getFillStyle()

getLowerRightLatLng

MQLatLng getLowerRightLatLng()

getLowerRightPoint

MQPoint getLowerRightPoint()

getObjectVersion

int getObjectVersion()

getStyle

MQPenStyle getStyle()

getUpperLeftLatLng

MQLatLng getUpperLeftLatLng()

getUpperLeftPoint

MQPoint getUpperLeftPoint()

getWidth

int getWidth()

loadXml

void loadXml(<String> strXml)

saveXml

String saveXml()

setColor

void setColor(<MQColorStyle> obj)

setFillColor

void setFillColor(<MQColorStyle> obj)

setFillStyle

void setFillStyle(<MQFillStyle> obj)

setLowerRightLatLng

void setLowerRightLatLng(<MQLatLng> latLng)

setLowerRightPoint

void setLowerRightPoint(<MQPoint> point)

setStyle

void setStyle(<MQPenStyle> obj)

setUpperLeftLatLng

void setUpperLeftLatLng(<MQLatLng> latLng)

setUpperLeftPoint

void setUpperLeftPoint(<MQPoint> point)

setWidth

void setWidth(<int> width)

MapQuest Advantage JavaScript API Reference Documentation

Documentation generated by JSDoc on Fri Oct 19 08:54:32 2007