Packagenet.systemeD.halcyon
Classpublic class TileSet
InheritanceTileSet Inheritance flash.display.Sprite



Public Properties
 PropertyDefined by
  blocks : Array
TileSet
  tile_b : int
TileSet
  tile_l : int
TileSet
  tile_r : int
TileSet
  tile_t : int
TileSet
  url : String
[read-only]
TileSet
Public Methods
 MethodDefined by
  
TileSet(map:Map)
TileSet
  
addRequest(tx:int, ty:int):void
Mark that a tile needs to be loaded
TileSet
  
changeScale(scale:uint):void
Set zoom scale (no update triggerd).
TileSet
  
getDimming():Boolean
Is imagery currently set faded?
TileSet
  
getSharpen():Boolean
Is sharpen filter applied?
TileSet
  
init(params:Object, update:Boolean = false):void
TileSet
  
nudgeHandler(event:MapEvent):void
Respond to nudge event by updating offset between imagery and map.
TileSet
  
serviceQueue():void
Service tile queue - called on every frame to download new tiles
TileSet
  
setDimming(dim:Boolean):void
Toggle fading of imagery.
TileSet
  
setSharpen(sharpen:Boolean):void
Toggle sharpen filter.
TileSet
  
update():void
Update bounds of tile area, and request new tiles if needed.
TileSet
Protected Methods
 MethodDefined by
  
doImgInit(event:Event):void
Tile image has been downloaded, so start displaying it.
TileSet
  
purgeTiles():void
TileSet
  
upFade(s:DisplayObject):void
TileSet
Property detail
blocksproperty
public var blocks:Array
tile_bproperty 
public var tile_b:int
tile_lproperty 
public var tile_l:int
tile_rproperty 
public var tile_r:int
tile_tproperty 
public var tile_t:int
urlproperty 
url:String  [read-only]Implementation
    public function get url():String
Constructor detail
TileSet()constructor
public function TileSet(map:Map)Parameters
map:Map
Method detail
addRequest()method
public function addRequest(tx:int, ty:int):void

Mark that a tile needs to be loaded

Parameters
tx:int
 
ty:int
changeScale()method 
public function changeScale(scale:uint):void

Set zoom scale (no update triggerd).

Parameters
scale:uint
doImgInit()method 
protected function doImgInit(event:Event):void

Tile image has been downloaded, so start displaying it.

Parameters
event:Event
getDimming()method 
public function getDimming():Boolean

Is imagery currently set faded?

Returns
Boolean
getSharpen()method 
public function getSharpen():Boolean

Is sharpen filter applied?

Returns
Boolean
init()method 
public function init(params:Object, update:Boolean = false):void

Parameters
params:Object — Currently includes "url" and "scheme"
 
update:Boolean (default = false) — Trigger update now?
nudgeHandler()method 
public function nudgeHandler(event:MapEvent):void

Respond to nudge event by updating offset between imagery and map.

Parameters
event:MapEvent
purgeTiles()method 
protected function purgeTiles():void
serviceQueue()method 
public function serviceQueue():void

Service tile queue - called on every frame to download new tiles

setDimming()method 
public function setDimming(dim:Boolean):void

Toggle fading of imagery.

Parameters
dim:Boolean
setSharpen()method 
public function setSharpen(sharpen:Boolean):void

Toggle sharpen filter.

Parameters
sharpen:Boolean
update()method 
public function update():void

Update bounds of tile area, and request new tiles if needed.

upFade()method 
protected function upFade(s:DisplayObject):voidParameters
s:DisplayObject