| Package | com.afcomponents.umap.display |
| Class | public class GridLayer |
| Inheritance | GridLayer MapObjectContainer MapObject flash.display.Sprite |
| Implements | IGridLayer |
| Property | Defined by | ||
|---|---|---|---|
| _tileLayer : ITileLayer
| GridLayer | ||
| Method | Defined by | ||
|---|---|---|---|
|
GridLayer(param:Object = null)
| GridLayer | ||
![]() |
addObject(object:IMapObject):void
Adds new IMapObject to the container.
| MapObjectContainer | |
![]() |
bringForward(object:IMapObject):void
Moves the attached IMapObject forward in the display list.
| MapObjectContainer | |
![]() |
bringToFront(object:IMapObject):void
Brings the attached IMapObject to the top of the display list.
| MapObjectContainer | |
![]() |
clearObjects(filter:Class = null):void
Removes all attached objects.
| MapObjectContainer | |
|
dispose():void
Releases all the resources accuired by the object.
| GridLayer | ||
![]() |
getObject(id_or_name:*, filter:Class = null):IMapObject
Searches for an object with specified id or name.
| MapObjectContainer | |
![]() |
getObjectById(id:uint, filter:Class = null):IMapObject
Searches for an object with specified id.
| MapObjectContainer | |
![]() |
getObjectByName(name:String, matchCase:Boolean = false, filter:Class = null):IMapObject
Searches for an object with specified name.
| MapObjectContainer | |
![]() |
getObjects(filter:Class = null):Array
Returns an array of IMapObjects that where added to the container.
| MapObjectContainer | |
![]() |
isOwnerVisible():Boolean
Recursevly checks visibility of parent objects
| MapObjectContainer | |
![]() |
remove():void
Removes the object from the owner container object.
| MapObject | |
![]() |
removeObject(object:IMapObject):void
Removes IMapObject from the container.
| MapObjectContainer | |
![]() |
sendBackward(object:IMapObject):void
Sends the attached IMapObject backward in the display list.
| MapObjectContainer | |
![]() |
sendToBack(object:IMapObject):void
Sends the attached IMapObject to the bottom of the display list.
| MapObjectContainer | |
![]() |
setOwner(owner:IMapObjectContainer):void
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 | ||
![]() |
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 | ||
| _tileLayer | property |
protected var _tileLayer:ITileLayer
| GridLayer | () | constructor |
public function GridLayer(param:Object = null)Parameters
param:Object (default = null) |
| dispose | () | method |
public override function dispose():voidReleases all the resources accuired by the object.
| setScale | () | method |
public function setScale(factor:Number):voidSets scaling factor for the layer.
Parametersfactor:Number |
| setViewport | () | method |
public function setViewport(width:uint = 0, height:uint = 0):voidChanges the dimensions of the viewport.
Parameterswidth:uint (default = 0) |
|
height:uint (default = 0) |
| updatePosition | () | method |
public function updatePosition(latlng:LatLng, force:Boolean = false):voidUpdate layer based on the new map center.
Parameterslatlng:LatLng |
|
force:Boolean (default = false) |