Packagecom.ammap.mapClasses
Classpublic class MapLine
InheritanceMapLine Inheritance MapObject Inheritance flash.events.EventDispatcher

MapLine is a class where lines are defined. If you want the line to be placed on a stage and not moved together with the map, you should set xArray and yArray properties. Otherwise set latArray and longArray properties. In case some property is not defined in this class, MapLine will use LinesSettings class property with the same name.



Public Properties
 PropertyDefined by
 Inheritedalpha : Number
Opacity of MapObject
MapObject
  arrow : String
Arrow position
MapLine
  arrowAlpha : Number
Opacity of an arrow
MapLine
  arrowColor : Number
Color of an arrow
MapLine
  arrowSize : Number
Size of an arrow
MapLine
 InheritedballoonText : String
Text which is displayed in a roll-over balloon.
MapObject
 InheritedbringForwardOnHover : Boolean
Specifies if movie or line should be moved to front level when user rolls-over it
MapObject
 Inheritedcolor : Number
Color of MapObject
MapObject
  curved : Boolean
Specifies if the line is curved.
MapLine
 InheritedcustomData : Object
a custom data holder
MapObject
  dashLength : Number
Dash length.
MapLine
 Inheriteddescription : String
Description of MapObject.
MapObject
 InheriteddescriptionWindowHeight : Number
Height of description window
MapObject
 InheriteddescriptionWindowY : Number
y position of description window
MapObject
 InheriteddescriptionWindowWidth : Number
Width of description window
MapObject
 InheriteddescriptionWindowX : Number
x position of description window
MapObject
 InheriteddisplayObject : DisplayObject
DisplayObject of a MapObject
MapObject
 Inheritedfilters : Array
Array of filters which will be applied to the object.
MapObject
 InheritedfixedSize : Boolean
Specifies if the object should change the size together with the map or keep fixed size.
MapObject
 InheritedgroupId : String
id of a group.
MapObject
  yArray : Array
Array of y coordinates
MapLine
  latArray : Array
Array of latitudes
MapLine
 Inheritedlines : Array
Array of MapLine objects
MapObject
 InheritedlinkWith : Array
Array of object id's with which this object is linked.
MapObject
  longArray : Array
Array of longitudes
MapLine
 InheritedmouseEnabled : Boolean
If you want to preserve original mouse events of your movie, set this to false.
MapObject
 Inheritedmovies : Array
Array of MapMovie objects.
MapObject
 Inheritedoid : String
unique id of map object
MapObject
 InheritedpassZoomValuesToTarget : Boolean
Specifies if current zoom values should be passed to target MapObject Useful when building drill down maps.
MapObject
 InheritedremainVisible : Boolean
Specifies if the MapObject should remain visible if it was clicked and it has children MapObjects.
MapObject
 InheritedrollOverAlpha : Number
Roll over opacity
MapObject
 InheritedrollOverColor : Number
Roll over color of of the object
MapObject
 InheritedrollOverFilter : Object
filter to be applied for an object when the mouse is over it
MapObject
 Inheritedselectable : Boolean
Specifies if the object can be selected even if it is not clickable.
MapObject
 InheritedselectedColor : Number
Color of an object when it is selected (somebody clicked on it)
MapObject
 InheritedshowAsSelected : Boolean
Specifies if selectedColor should be applied to the object.
MapObject
 InheritedshowInList : Boolean
Specifies if this object must be displayed in ObjectsList Title should be defined in order the object to appear there.
MapObject
  thickness : Number
Line thickness
MapLine
 Inheritedtitle : String
Title of a MapObject
MapObject
 Inheritedurl : Object
url of an object.
MapObject
 InheritedurlTarget : String
Target of an URL, if URL is a string.
MapObject
 InheriteduseTargetsZoomValues : Boolean
Specifies if MapObject's, specified in the url zoom values should be used.
MapObject
 Inheritedvalue : Number
Value of the object.
MapObject
 Inheritedvisible : Boolean
specifies if map object is visible
MapObject
  xArray : Array
Array of x coordinates
MapLine
 InheritedzoomY : Number
Specifies y position (in percents of stage height) to which map should be moved when this object is clicked You can also use zoomLat and zoomLong instead of zoomY and zoomY
MapObject
 InheritedzoomLat : Number
Specifies Latitude to which map should be moved when this object is clicked
MapObject
 InheritedzoomLevel : Number
Specifies map scale to which map should be rescaled when this object is clicked
MapObject
 InheritedzoomLong : Number
Specifies Longitude to which map should be moved when this object is clicked
MapObject
 InheritedzoomX : Number
Specifies x position (in percents of stage width) to which map should be moved when this object is clicked.
MapObject
Public Methods
 MethodDefined by
  
Constructor.
MapLine
 Inherited
addObject(object:MapObject):void
adds MapObject
MapObject
 Inherited
removeObject(object:MapObject):void
removes MapObject
MapObject
Events
 EventSummaryDefined by
 Inherited Dispatched when user clicks this map object MapObject
 Inherited Dispatched when user rolls-out off a map object MapObject
 Inherited Dispatched when user rolls-over a map object MapObject
Property detail
arrowproperty
arrow:String  [read-write]

Arrow position

Implementation
    public function get arrow():String
    public function set arrow(value:String):void
arrowAlphaproperty 
arrowAlpha:Number  [read-write]

Opacity of an arrow

Implementation
    public function get arrowAlpha():Number
    public function set arrowAlpha(value:Number):void
arrowColorproperty 
arrowColor:Number  [read-write]

Color of an arrow

Implementation
    public function get arrowColor():Number
    public function set arrowColor(value:Number):void
arrowSizeproperty 
arrowSize:Number  [read-write]

Size of an arrow

Implementation
    public function get arrowSize():Number
    public function set arrowSize(value:Number):void
curvedproperty 
curved:Boolean  [read-write]

Specifies if the line is curved. There should be at least 3 points in order for the line to be curved.

Implementation
    public function get curved():Boolean
    public function set curved(value:Boolean):void
dashLengthproperty 
dashLength:Number  [read-write]

Dash length. Curved lines can't be dashed.

Implementation
    public function get dashLength():Number
    public function set dashLength(value:Number):void
yArrayproperty 
yArray:Array  [read-write]

Array of y coordinates

Implementation
    public function get yArray():Array
    public function set yArray(value:Array):void
latArrayproperty 
latArray:Array  [read-write]

Array of latitudes

Implementation
    public function get latArray():Array
    public function set latArray(value:Array):void
longArrayproperty 
longArray:Array  [read-write]

Array of longitudes

Implementation
    public function get longArray():Array
    public function set longArray(value:Array):void
thicknessproperty 
thickness:Number  [read-write]

Line thickness

Implementation
    public function get thickness():Number
    public function set thickness(value:Number):void
xArrayproperty 
xArray:Array  [read-write]

Array of x coordinates

Implementation
    public function get xArray():Array
    public function set xArray(value:Array):void
Constructor detail
MapLine()constructor
public function MapLine()

Constructor.