Packagecom.afcomponents.umap.display
Classpublic class GridLayer
InheritanceGridLayer Inheritance MapObjectContainer Inheritance MapObject Inheritance flash.display.Sprite
ImplementsIGridLayer

GridLayer



Public Properties
 PropertyDefined by
 InheritedasDisplayObject : DisplayObject
Returns reference to the object as a DisplayObject instance.
MapObject
 Inheritedcore : UMap
Returns reference to the core UMap object.
MapObject
 Inheritedid : uint
Gets or sets the ID of the object.
MapObject
 Inheritedname : String
Gets or sets the name of the object.
MapObject
 Inheritedowner : IMapObjectContainer
Returns reference to the owner container object.
MapObject
Protected Properties
 PropertyDefined by
  _tileLayer : ITileLayer
GridLayer
Public Methods
 MethodDefined by
  
GridLayer(param:Object = null)
GridLayer
 Inherited
addObject(object:IMapObject):void
Adds new IMapObject to the container.
MapObjectContainer
 Inherited
bringForward(object:IMapObject):void
Moves the attached IMapObject forward in the display list.
MapObjectContainer
 Inherited
bringToFront(object:IMapObject):void
Brings the attached IMapObject to the top of the display list.
MapObjectContainer
 Inherited
clearObjects(filter:Class = null):void
Removes all attached objects.
MapObjectContainer
  
dispose():void
Releases all the resources accuired by the object.
GridLayer
 Inherited
getObject(id_or_name:*, filter:Class = null):IMapObject
Searches for an object with specified id or name.
MapObjectContainer
 Inherited
getObjectById(id:uint, filter:Class = null):IMapObject
Searches for an object with specified id.
MapObjectContainer
 Inherited
getObjectByName(name:String, matchCase:Boolean = false, filter:Class = null):IMapObject
Searches for an object with specified name.
MapObjectContainer
 Inherited
getObjects(filter:Class = null):Array
Returns an array of IMapObjects that where added to the container.
MapObjectContainer
 Inherited
isOwnerVisible():Boolean
Recursevly checks visibility of parent objects
MapObjectContainer
 Inherited
remove():void
Removes the object from the owner container object.
MapObject
 Inherited
removeObject(object:IMapObject):void
Removes IMapObject from the container.
MapObjectContainer
 Inherited
sendBackward(object:IMapObject):void
Sends the attached IMapObject backward in the display list.
MapObjectContainer
 Inherited
sendToBack(object:IMapObject):void
Sends the attached IMapObject to the bottom of the display list.
MapObjectContainer
 Inherited
Adds the object to the specified IMapObjectContainer.
MapObjectContainer
  
setScale(factor:Number):void
Sets scaling factor for the layer.
GridLayer
  
setViewport(width:uint = 0, height:uint = 0):void
Changes the dimensions of the viewport.
GridLayer
 Inherited
toString():String
Returns a textual representation of the object.
MapObject
  
updatePosition(latlng:LatLng, force:Boolean = false):void
Update layer based on the new map center.
GridLayer
Property detail
_tileLayerproperty
protected var _tileLayer:ITileLayer

Constructor detail
GridLayer()constructor
public function GridLayer(param:Object = null)Parameters
param:Object (default = null)
Method detail
dispose()method
public override function dispose():void

Releases all the resources accuired by the object.

setScale()method 
public function setScale(factor:Number):void

Sets scaling factor for the layer.

Parameters
factor:Number
setViewport()method 
public function setViewport(width:uint = 0, height:uint = 0):void

Changes the dimensions of the viewport.

Parameters
width:uint (default = 0)
 
height:uint (default = 0)
updatePosition()method 
public function updatePosition(latlng:LatLng, force:Boolean = false):void

Update layer based on the new map center.

Parameters
latlng:LatLng
 
force:Boolean (default = false)