IDomTile

Interface for tiles that make up a DOM object.

Constructor | Fields | Events | Methods

Constructor

IDomTile(url)

Parameters:

Parameter Default value Description
url *

Type: String

Tile URL.

* Mandatory parameter/option.

Fields

Name Type Description
events IEventManager

Tile event manager.

Events

Name Description
ready

Tile ready event.

Methods

Name Returns Description
destroy()

Destroys the tile.

isReady()

Boolean

Checks tile readiness.

renderAt(context, clientBounds, animate)

Adds a tile to the parent HTML element.

Fields details

events

{IEventManager} events

Tile event manager.

Events details

ready

Tile ready event.

Methods details

destroy

{} destroy()

Destroys the tile.

isReady

{Boolean} isReady()

Checks tile readiness.

Returns true if the tile is ready, or false if it is not ready.

renderAt

Adds a tile to the parent HTML element.

Parameters:

Parameter Default value Description
context *

Type: HTMLElement

Parent HTML element

clientBounds *

Type: Number[][]

The area in client coordinates that the tile should occupy.

animate *

Type: Boolean

If true, rendering is animated; if false, it is not.

* Mandatory parameter/option.