Packagecom.ammap.mapClasses
Classpublic class DataSet
InheritanceDataSet Inheritance MapObject Inheritance flash.events.EventDispatcher

DataSet is a class which holds all the data - arrays of movies, areas and lines.



Public Properties
 PropertyDefined by
  areas : Array
Array of MapArea objects
DataSet
  bottomLatitude : Number
Latitude of bottom-most point of a map
DataSet
 InheritedbringForwardOnHover : Boolean
Specifies if movie or line should be moved to front level when user rolls-over it
MapObject
  centerMap : Boolean
specifies if the map should be centered.
DataSet
 InheritedcustomData : Object
a custom data holder
MapObject
 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
  leftLongitude : Number
Longitude of left-most point of a map
DataSet
 Inheritedlines : Array
Array of MapLine objects
MapObject
 InheritedlinkWith : Array
Array of object id's with which this object is linked.
MapObject
  mapClass : Class
Map class.
DataSet
  mapURL : String
path to the map swf or image file.
DataSet
 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
  projection : String
Projection of a map
DataSet
  rightLongitude : Number
Longitude of right-most point of a map
DataSet
 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
  showAreasInList : Boolean
Specifies if MapAreas should be displayed in the ObjectList component
DataSet
  showLinesInList : Boolean
Specifies if MapLines should be displayed in the ObjectList component
DataSet
  showMoviesInList : Boolean
Specifies if MapMovies should be displayed in the ObjectList component
DataSet
 Inheritedtitle : String
Title of a MapObject
MapObject
  topLatitude : Number
Latitude of top-most point of a map
DataSet
 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
 Inheritedvisible : Boolean
specifies if map object is visible
MapObject
 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
  
addObject(object:MapObject):void
adds MapObject
DataSet
  
removeObject(object:MapObject):void
removes MapObject
DataSet
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
areasproperty
areas:Array  [read-write]

Array of MapArea objects

Implementation
    public function get areas():Array
    public function set areas(value:Array):void
bottomLatitudeproperty 
bottomLatitude:Number  [read-write]

Latitude of bottom-most point of a map

The default value is -90.

Implementation
    public function get bottomLatitude():Number
    public function set bottomLatitude(value:Number):void
centerMapproperty 
centerMap:Boolean  [read-write]

specifies if the map should be centered.

The default value is true.

Implementation
    public function get centerMap():Boolean
    public function set centerMap(value:Boolean):void
leftLongitudeproperty 
leftLongitude:Number  [read-write]

Longitude of left-most point of a map

The default value is -180.

Implementation
    public function get leftLongitude():Number
    public function set leftLongitude(value:Number):void
mapClassproperty 
mapClass:Class  [read-write]

Map class. You can also load external map file, use mapURL in this case.

Implementation
    public function get mapClass():Class
    public function set mapClass(value:Class):void
mapURLproperty 
mapURL:String  [read-write]

path to the map swf or image file. You can also embed map file as a class, use mapClass property in this case.

Implementation
    public function get mapURL():String
    public function set mapURL(value:String):void
projectionproperty 
projection:String  [read-write]

Projection of a map

Implementation
    public function get projection():String
    public function set projection(value:String):void
rightLongitudeproperty 
rightLongitude:Number  [read-write]

Longitude of right-most point of a map

The default value is 180.

Implementation
    public function get rightLongitude():Number
    public function set rightLongitude(value:Number):void
showAreasInListproperty 
showAreasInList:Boolean  [read-write]

Specifies if MapAreas should be displayed in the ObjectList component

The default value is true.

Implementation
    public function get showAreasInList():Boolean
    public function set showAreasInList(value:Boolean):void
showLinesInListproperty 
showLinesInList:Boolean  [read-write]

Specifies if MapLines should be displayed in the ObjectList component

The default value is false.

Implementation
    public function get showLinesInList():Boolean
    public function set showLinesInList(value:Boolean):void
showMoviesInListproperty 
showMoviesInList:Boolean  [read-write]

Specifies if MapMovies should be displayed in the ObjectList component

The default value is true.

Implementation
    public function get showMoviesInList():Boolean
    public function set showMoviesInList(value:Boolean):void
topLatitudeproperty 
topLatitude:Number  [read-write]

Latitude of top-most point of a map

The default value is 90.

Implementation
    public function get topLatitude():Number
    public function set topLatitude(value:Number):void
Method detail
addObject()method
public override function addObject(object:MapObject):void

adds MapObject

Parameters
object:MapObject
removeObject()method 
public override function removeObject(object:MapObject):void

removes MapObject

Parameters
object:MapObject