| Package | com.mapquest.tilemap.overlays |
| Class | public class ShapeOverlay |
| Inheritance | ShapeOverlay flash.display.Sprite |
| Subclasses | DisplayObjectOverlay, EllipseOverlay, ImageOverlay, LineOverlay, PolygonOverlay, RectangleOverlay |
| Property | Defined by | ||
|---|---|---|---|
| visible : Boolean | ShapeOverlay | ||
| Property | Defined by | ||
|---|---|---|---|
| altBorderWidth : Number = 3 | ShapeOverlay | ||
| altColor : Number = -1 | ShapeOverlay | ||
| altColorAlpha : Number = 1 | ShapeOverlay | ||
| altFillColor : Number = -1 | ShapeOverlay | ||
| altFillColorAlpha : Number = 1 | ShapeOverlay | ||
| altStateFlag : Boolean = false | ShapeOverlay | ||
| borderWidth : Number = 3 | ShapeOverlay | ||
| color : Number = 0x000000 | ShapeOverlay | ||
| colorAlpha : Number = 1 | ShapeOverlay | ||
| fillColor : Number = 0x000000 | ShapeOverlay | ||
| fillColorAlpha : Number = 1 | ShapeOverlay | ||
| hasDrawn : Boolean = false | ShapeOverlay | ||
| key : String = "" | ShapeOverlay | ||
| map : TileMap | ShapeOverlay | ||
| maxZoomLevel : int = 16 | ShapeOverlay | ||
| minZoomLevel : int = 1 | ShapeOverlay | ||
| shapePoints : IPointLLCollection | ShapeOverlay | ||
| visibleFlag : Boolean = true | ShapeOverlay | ||
| Method | Defined by | ||
|---|---|---|---|
|
ShapeOverlay(overlayToClone:ShapeOverlay = null)
Base shape class
Constructs a new MQShapeOverlay object
| ShapeOverlay | ||
|
clone(overlayToClone:ShapeOverlay):void
Clones the specified overlay.
| ShapeOverlay | ||
|
getAltBorderWidth():Number
Returns the alternate border width for this overlay object.
| ShapeOverlay | ||
|
getAltColor():Number
Returns the alt border color for this overlay object.
| ShapeOverlay | ||
|
getAltColorAlpha():Number
Returns the altColorAlpha for this overlay object.
| ShapeOverlay | ||
|
getAltFillColor():Number
Returns the alt fill color for this overlay object.
| ShapeOverlay | ||
|
getAltFillColorAlpha():Number
Returns the alt fill color alpha (transparency) for this overlay object.
| ShapeOverlay | ||
|
getAltStateFlag():Boolean
Returns the alternate state for this overlay object.
| ShapeOverlay | ||
|
getBorderWidth():Number
Returns the border width for this overlay object.
| ShapeOverlay | ||
|
getColor():Number
Returns the border color for this overlay object.
| ShapeOverlay | ||
|
getColorAlpha():Number
Returns the color alpha (transparency) for this overlay object.
| ShapeOverlay | ||
|
getFillColor():Number
Returns the fill color for this overlay object.
| ShapeOverlay | ||
|
getFillColorAlpha():Number
Returns the fill color alpha (transparency) for this overlay object.
| ShapeOverlay | ||
|
getKey():String
Returns the key for this overlay object.
| ShapeOverlay | ||
|
getMaxZoomLevel():int
Returns the max zoom for this overlay object.
| ShapeOverlay | ||
|
getMinZoomLevel():int
Returns the min zoom for this overlay object.
| ShapeOverlay | ||
|
Gets the shape points of the overlay.
| ShapeOverlay | ||
|
getVisible():Boolean
Gets the visible property of the overlay.
| ShapeOverlay | ||
|
redraw():void
Redraws an existing overlay.
| ShapeOverlay | ||
|
setAll(params:Object):void
Sets all the properties of the overlay.
| ShapeOverlay | ||
|
setAltBorderWidth(lineWidth:Number):void
Sets the altBorderWidth for this overlay object.
| ShapeOverlay | ||
|
setAltColor(altColor:Number):void
Sets the altColor for this overlay object.
| ShapeOverlay | ||
|
setAltColorAlpha(altColorAlpha:Number):void
Sets the altColorAlpha for this overlay object.
| ShapeOverlay | ||
|
setAltFillColor(altFillColor:Number):void
Sets the altFillColor for this overlay object.
| ShapeOverlay | ||
|
setAltFillColorAlpha(altFillColorAlpha:Number):void
Sets the altFillColorAlpha for this overlay object.
| ShapeOverlay | ||
|
setAltStateFlag(altStateFlag:Boolean):void
Sets the altStateFlag for this overlay object.
| ShapeOverlay | ||
|
setBorderWidth(lineWidth:Number):void
Sets the borderWidth for this overlay object.
| ShapeOverlay | ||
|
setColor(color:Number):void
Sets the color for this overlay object.
| ShapeOverlay | ||
|
setColorAlpha(colorAlpha:Number):void
Sets the alpha (transparency) for this overlay object.
| ShapeOverlay | ||
|
setFillColor(fillColor:Number):void
Sets the fillColor for this overlay object.
| ShapeOverlay | ||
|
setFillColorAlpha(fillColorAlpha:Number):void
Sets the fillColorAlpha for this overlay object.
| ShapeOverlay | ||
|
setKey(key:String):void
Sets the key for this overlay object.
| ShapeOverlay | ||
| ShapeOverlay | |||
|
setMaxZoomLevel(maxZoomLevel:int):void
Sets the max Zoom for this overlay object.
| ShapeOverlay | ||
|
setMinZoomLevel(minZoomLevel:int):void
Sets the min Zoom for this overlay object.
| ShapeOverlay | ||
|
setShapePoints(shapePoints:Object):void
Sets the shape points for the overlay.
| ShapeOverlay | ||
|
setVisible(bVisible:Boolean):void
Sets the Visible property for this overlay object.
| ShapeOverlay | ||
| Method | Defined by | ||
|---|---|---|---|
|
drawShape():void
| ShapeOverlay | ||
| altBorderWidth | property |
protected var altBorderWidth:Number = 3
| altColor | property |
protected var altColor:Number = -1
| altColorAlpha | property |
protected var altColorAlpha:Number = 1
| altFillColor | property |
protected var altFillColor:Number = -1
| altFillColorAlpha | property |
protected var altFillColorAlpha:Number = 1
| altStateFlag | property |
protected var altStateFlag:Boolean = false
| borderWidth | property |
protected var borderWidth:Number = 3
| color | property |
protected var color:Number = 0x000000
| colorAlpha | property |
protected var colorAlpha:Number = 1
| fillColor | property |
protected var fillColor:Number = 0x000000
| fillColorAlpha | property |
protected var fillColorAlpha:Number = 1
| hasDrawn | property |
protected var hasDrawn:Boolean = false
| key | property |
protected var key:String = ""
| map | property |
protected var map:TileMap
| maxZoomLevel | property |
protected var maxZoomLevel:int = 16
| minZoomLevel | property |
protected var minZoomLevel:int = 1
| shapePoints | property |
protected var shapePoints:IPointLLCollection
| visible | property |
visible:Boolean [read-write]Implementation
public function get visible():Boolean
public function set visible(value:Boolean):void
| visibleFlag | property |
protected var visibleFlag:Boolean = true
| ShapeOverlay | () | constructor |
public function ShapeOverlay(overlayToClone:ShapeOverlay = null)Base shape class Constructs a new MQShapeOverlay object
ParametersoverlayToClone:ShapeOverlay (default = null) |
| clone | () | method |
public function clone(overlayToClone:ShapeOverlay):voidClones the specified overlay.
ParametersoverlayToClone:ShapeOverlay |
| drawShape | () | method |
protected function drawShape():void
| getAltBorderWidth | () | method |
public function getAltBorderWidth():NumberReturns the alternate border width for this overlay object.
ReturnsNumber |
See also
| getAltColor | () | method |
public function getAltColor():NumberReturns the alt border color for this overlay object.
ReturnsNumber |
See also
| getAltColorAlpha | () | method |
public function getAltColorAlpha():NumberReturns the altColorAlpha for this overlay object.
ReturnsNumber |
See also
| getAltFillColor | () | method |
public function getAltFillColor():NumberReturns the alt fill color for this overlay object.
ReturnsNumber |
See also
| getAltFillColorAlpha | () | method |
public function getAltFillColorAlpha():NumberReturns the alt fill color alpha (transparency) for this overlay object.
ReturnsNumber |
See also
| getAltStateFlag | () | method |
public function getAltStateFlag():BooleanReturns the alternate state for this overlay object.
ReturnsBoolean |
See also
| getBorderWidth | () | method |
public function getBorderWidth():NumberReturns the border width for this overlay object.
ReturnsNumber |
See also
| getColor | () | method |
public function getColor():NumberReturns the border color for this overlay object.
ReturnsNumber |
See also
| getColorAlpha | () | method |
public function getColorAlpha():NumberReturns the color alpha (transparency) for this overlay object.
ReturnsNumber |
See also
| getFillColor | () | method |
public function getFillColor():NumberReturns the fill color for this overlay object.
ReturnsNumber |
See also
| getFillColorAlpha | () | method |
public function getFillColorAlpha():NumberReturns the fill color alpha (transparency) for this overlay object.
ReturnsNumber |
See also
| getKey | () | method |
public function getKey():StringReturns the key for this overlay object.
ReturnsString |
See also
| getMaxZoomLevel | () | method |
public function getMaxZoomLevel():intReturns the max zoom for this overlay object.
Returnsint |
| getMinZoomLevel | () | method |
public function getMinZoomLevel():intReturns the min zoom for this overlay object.
Returnsint |
| getShapePoints | () | method |
public function getShapePoints():IPointLLCollectionGets the shape points of the overlay.
ReturnsIPointLLCollection —
The shape points for the overlay.
|
| getVisible | () | method |
public function getVisible():BooleanGets the visible property of the overlay.
ReturnsBoolean — The visible property for the overlay.
|
| redraw | () | method |
public function redraw():voidRedraws an existing overlay.
| setAll | () | method |
public function setAll(params:Object):voidSets all the properties of the overlay.
Parametersparams:Object — (MQRectLL or MQLatLngCollection) shape points for the overlay.
|
| setAltBorderWidth | () | method |
public function setAltBorderWidth(lineWidth:Number):voidSets the altBorderWidth for this overlay object.
ParameterslineWidth:Number — overlay object alternate border size
|
See also
| setAltColor | () | method |
public function setAltColor(altColor:Number):voidSets the altColor for this overlay object.
ParametersaltColor:Number — overlay object (border) altColor
|
See also
| setAltColorAlpha | () | method |
public function setAltColorAlpha(altColorAlpha:Number):voidSets the altColorAlpha for this overlay object.
ParametersaltColorAlpha:Number — for alpha transparency (ex: 0.9)
|
See also
| setAltFillColor | () | method |
public function setAltFillColor(altFillColor:Number):voidSets the altFillColor for this overlay object.
ParametersaltFillColor:Number — overlay object (interior) altFillColor
|
See also
| setAltFillColorAlpha | () | method |
public function setAltFillColorAlpha(altFillColorAlpha:Number):voidSets the altFillColorAlpha for this overlay object.
ParametersaltFillColorAlpha:Number — for alpha transparency (ex: 0.9)
|
See also
| setAltStateFlag | () | method |
public function setAltStateFlag(altStateFlag:Boolean):voidSets the altStateFlag for this overlay object.
ParametersaltStateFlag:Boolean — boolean The overlay object alternate state -- 'true' if in alternate state.
|
See also
| setBorderWidth | () | method |
public function setBorderWidth(lineWidth:Number):voidSets the borderWidth for this overlay object.
ParameterslineWidth:Number — int The overlay object border size
|
See also
| setColor | () | method |
public function setColor(color:Number):voidSets the color for this overlay object.
Parameterscolor:Number — mixed String in hex format or 3-element array of R,G,B values. The overlay object (border) color
|
See also
| setColorAlpha | () | method |
public function setColorAlpha(colorAlpha:Number):voidSets the alpha (transparency) for this overlay object.
ParameterscolorAlpha:Number — Double value for alpha transpaency (ex: 0.9)
|
See also
| setFillColor | () | method |
public function setFillColor(fillColor:Number):voidSets the fillColor for this overlay object.
ParametersfillColor:Number — overlay object (interior) fillColor
|
See also
| setFillColorAlpha | () | method |
public function setFillColorAlpha(fillColorAlpha:Number):voidSets the fillColorAlpha for this overlay object.
ParametersfillColorAlpha:Number — for alpha transparency (ex: 0.9)
|
See also
| setKey | () | method |
public function setKey(key:String):voidSets the key for this overlay object.
Parameterskey:String — overlay object key
|
See also
| setMap | () | method |
| setMaxZoomLevel | () | method |
public function setMaxZoomLevel(maxZoomLevel:int):voidSets the max Zoom for this overlay object.
ParametersmaxZoomLevel:int |
| setMinZoomLevel | () | method |
public function setMinZoomLevel(minZoomLevel:int):voidSets the min Zoom for this overlay object.
ParametersminZoomLevel:int |
| setShapePoints | () | method |
public function setShapePoints(shapePoints:Object):voidSets the shape points for the overlay.
ParametersshapePoints:Object — shape points for the overlay.
MQPolygonOverlay must take an MQLatLngCollection of at least 3 points.
If MQRectLL is passed in, it is automatically converted to MQLatLngCollection.
|
| setVisible | () | method |
public function setVisible(bVisible:Boolean):voidSets the Visible property for this overlay object.
ParametersbVisible:Boolean — overlay object visible flag.
|