| Property | Defined 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 | ||
| Method | Defined by | ||
|---|---|---|---|
| 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
doImgInit(event:Event):void
Tile image has been downloaded, so start displaying it.
| TileSet | ||
|
purgeTiles():void
| TileSet | ||
|
upFade(s:DisplayObject):void
| TileSet | ||
| blocks | property |
public var blocks:Array
| tile_b | property |
public var tile_b:int
| tile_l | property |
public var tile_l:int
| tile_r | property |
public var tile_r:int
| tile_t | property |
public var tile_t:int
| url | property |
url:String [read-only]Implementation
public function get url():String
| TileSet | () | constructor |
| addRequest | () | method |
public function addRequest(tx:int, ty:int):voidMark that a tile needs to be loaded
Parameterstx:int |
|
ty:int |
| changeScale | () | method |
public function changeScale(scale:uint):voidSet zoom scale (no update triggerd).
Parametersscale:uint |
| doImgInit | () | method |
protected function doImgInit(event:Event):voidTile image has been downloaded, so start displaying it.
Parametersevent:Event |
| getDimming | () | method |
public function getDimming():BooleanIs imagery currently set faded?
ReturnsBoolean |
| getSharpen | () | method |
public function getSharpen():BooleanIs sharpen filter applied?
ReturnsBoolean |
| init | () | method |
public function init(params:Object, update:Boolean = false):voidParameters
params:Object — Currently includes "url" and "scheme"
|
|
update:Boolean (default = false) — Trigger update now?
|
| nudgeHandler | () | method |
public function nudgeHandler(event:MapEvent):voidRespond to nudge event by updating offset between imagery and map.
Parametersevent:MapEvent |
| purgeTiles | () | method |
protected function purgeTiles():void
| serviceQueue | () | method |
public function serviceQueue():voidService tile queue - called on every frame to download new tiles
| setDimming | () | method |
public function setDimming(dim:Boolean):voidToggle fading of imagery.
Parametersdim:Boolean |
| setSharpen | () | method |
public function setSharpen(sharpen:Boolean):voidToggle sharpen filter.
Parameterssharpen:Boolean |
| update | () | method |
public function update():voidUpdate bounds of tile area, and request new tiles if needed.
| upFade | () | method |
protected function upFade(s:DisplayObject):voidParameters
s:DisplayObject |