|
MapQuest Advantage TileMap Toolkit Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--MQObject
|
+--MQShapeOverlay
Defined in mqoverlays.js
| Field Summary | |
Object |
altBorderWidth
|
Object |
altColor
|
Object |
altColorAlpha
|
Object |
altFillColor
|
Object |
altFillColorAlplha
|
Object |
altStateFlag
|
Object |
borderWidth
|
Object |
className
|
Object |
color
|
Object |
colorAlpha
|
Object |
fillColor
|
Object |
fillColorAlpha
|
Object |
key
|
Object |
map
|
Object |
maxZoomLevel
|
Object |
minZoomLevel
|
Object |
shape
|
Object |
shapePoints
|
Object |
shapePointsXY
|
Object |
visible
|
| Constructor Summary | |
MQShapeOverlay
()
Base shape class |
|
| Method Summary | |
int
|
getAltBorderWidth()
Returns the alternate border width for this overlay object. |
color in [r,g,b] format.
|
getAltColor()
Returns the alt border color for this overlay object. |
Double value for alpha transparency (ex: 0.9)
|
getAltColorAlpha()
Returns the altColorAlpha for this overlay object. |
string in rgba(int, int, int, double) format
|
getAltFillColor()
Returns the alt fill color for this overlay object. |
double value for alpha transparency (ex: 0.9)
|
getAltFillColorAlpha()
Returns the alt fill color alpha (transparency) for this overlay object. |
boolean
|
getAltStateFlag()
Returns the alternate state for this overlay object. |
int
|
getBorderWidth()
Returns the border width for this overlay object. |
Object
|
getClassName()
Gets the class name of the overlay. |
color in [r,g,b] format.
|
getColor()
Returns the border color for this overlay object. |
Double value for alpha transparency (ex: 0.9)
|
getColorAlpha()
Returns the color alpha (transparency) for this overlay object. |
string in rgba(int, int, int, double) format
|
getFillColor()
Returns the fill color for this overlay object. |
double value for alpha transparency (ex: 0.9)
|
getFillColorAlpha()
Returns the fill color alpha (transparency) for this overlay object. |
string
|
getKey()
Returns the key for this overlay object. |
Object
|
getMaxZoomLevel()
Gets the maximum zoom level set by the user for the overlay. |
Object
|
getMinZoomLevel()
Gets the minimum zoom level set by the user for the overlay. |
Object
|
getShapePoints()
Gets the shape points of the overlay. |
Object
|
getVisible()
Gets the visibility state for the overlay. |
void
|
redraw()
Redraws an existing overlay. |
Object
|
setAll(params)
Sets all the properties of the overlay. |
void
|
setAltBorderWidth(lineWidth)
Sets the altBorderWidth for this overlay object. |
void
|
setAltColor(altColor)
Sets the altColor for this overlay object. |
void
|
setAltColorAlpha(altColorAlpha)
Sets the altColorAlpha for this overlay object. |
void
|
setAltFillColor(altFillColor)
Sets the altFillColor for this overlay object. |
void
|
setAltFillColorAlpha(altFillColorAlpha)
Sets the altFillColorAlpha for this overlay object. |
void
|
setAltStateFlag(altStateFlag)
Sets the altStateFlag for this overlay object. |
void
|
setBorderWidth(lineWidth)
Sets the borderWidth for this overlay object. |
void
|
setColor(color)
Sets the color for this overlay object. |
void
|
setColorAlpha(colorAlpha)
Sets the alpha (transparency) for this overlay object. |
void
|
setFillColor(fillColor)
Sets the fillColor for this overlay object. |
void
|
setFillColorAlpha(fillColorAlpha)
Sets the fillColorAlpha for this overlay object. |
void
|
setKey(key)
Sets the key for this overlay object. |
Object
|
setMaxZoomLevel(level)
Sets the maximum zoom level for the overlay. |
Object
|
setMinZoomLevel(level)
Sets the minimum zoom level for the overlay. |
Object
|
setShapePoints(shapePnts)
Sets the shape points for the overlay. |
Object
|
setVisible(bVisible)
Sets the visibility state for the overlay. |
| Methods inherited from class MQObject |
getM_XmlDoc, setM_XmlDoc, getM_Xpath, setM_Xpath, getObjectVersion, setProperty, getProperty, copy
|
| Field Detail |
Object altBorderWidth
Object altColor
Object altColorAlpha
Object altFillColor
Object altFillColorAlplha
Object altStateFlag
Object borderWidth
Object className
Object color
Object colorAlpha
Object fillColor
Object fillColorAlpha
Object key
Object map
Object maxZoomLevel
Object minZoomLevel
Object shape
Object shapePoints
Object shapePointsXY
Object visible
| Constructor Detail |
MQShapeOverlay()
| Method Detail |
int getAltBorderWidth()
color in [r,g,b] format. getAltColor()
Double value for alpha transparency (ex: 0.9) getAltColorAlpha()
string in rgba(int, int, int, double) format getAltFillColor()
double value for alpha transparency (ex: 0.9) getAltFillColorAlpha()
boolean getAltStateFlag()
int getBorderWidth()
Object getClassName()
color in [r,g,b] format. getColor()
Double value for alpha transparency (ex: 0.9) getColorAlpha()
string in rgba(int, int, int, double) format getFillColor()
double value for alpha transparency (ex: 0.9) getFillColorAlpha()
string getKey()
Object getMaxZoomLevel()
Object getMinZoomLevel()
Object getShapePoints()
Object getVisible()
void redraw()
Object setAll(params)
shapePoints - :value (MQRectLL or MQLatLngCollection) shape points for the overlay.
key - :value (string) The key for this overlay.
color - :value (string) Hex or RGB color string.
altColor - :value (string) Hex or RGB color string.
colorAlpha - :value (integer) Opacity value of the color.
altColorAlpha - :value (integer) Opacity value of the altColor.
fillColor - :value (string) Hex or RGB color string.
altFillColor - :value (string) Hex or RGB color string.
fillColorAlpha - :value (integer) Opacity value of the fillColor.
altFillColorAlpha - :value (integer) Opacity value of the altFillColor.
borderWidth - :value (integer) Width of the overlay border.
altBorderWidth - :value (integer) Width of the overlay alt border.
altStateFlag - :value (boolean) altStateFlag setting.
visible - :value (boolean) Visible state. etc.
void setAltBorderWidth(lineWidth)
int - The overlay object alternate border size
void setAltColor(altColor)
mixed - String in hex format or 3-element array of R,G,B values. The overlay object (border) altColor
void setAltColorAlpha(altColorAlpha)
Double - value for alpha transparency (ex: 0.9)
void setAltFillColor(altFillColor)
mixed - String in hex format or 3-element array of R,G,B values. The overlay object (interior) altFillColor
void setAltFillColorAlpha(altFillColorAlpha)
Double - value for alpha transparency (ex: 0.9)
void setAltStateFlag(altStateFlag)
boolean - The overlay object alternate state -- 'true' if in alternate state.
void setBorderWidth(lineWidth)
int - The overlay object border size
void setColor(color)
mixed - String in hex format or 3-element array of R,G,B values. The overlay object (border) color
void setColorAlpha(colorAlpha)
Double - value for alpha transpaency (ex: 0.9)
void setFillColor(fillColor)
mixed - String in hex format or 3-element array of R,G,B values. The overlay object (interior) fillColor
void setFillColorAlpha(fillColorAlpha)
Double - value for alpha transparency (ex: 0.9)
void setKey(key)
string - The overlay object key
Object setMaxZoomLevel(level)
level - (integer) specifies the max zoom level in integer.
Object setMinZoomLevel(level)
level - (integer) specifies the minimum zoom level in integer.
Object setShapePoints(shapePnts)
shapePoints - (MQRectLL, MQRectXY, or MQObjectCollection) shape points for the overlay.
isXY - (integer) optional. If 1, the shapepoints are MQPoints, not MQLatLngs. MQPolygonOverlay must take an MQObjectCollection of at least 3 points. If MQRectLL is passed in, it is automatically converted to MQObjectCollection.
Object setVisible(bVisible)
visible - Boolean value for visibility state (true/false)
|
MapQuest Advantage TileMap Toolkit Reference Documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||