IDomTile

Extends ITile.

Interface for tiles that make up a DOM object.

Constructor | Fields | Events | Methods

Constructor

IDomTile(url)

Parameters:

ParameterDefault valueDescription
url *

Type: String

Tile URL.

* Mandatory parameter/option.

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

Events

NameDescription
ready

Tile ready event.

Inherited from ITile.

Methods

NameReturnsDescription
destroy()

Destroys the tile.

Inherited from ITile.

isReady()

Boolean

Checks tile readiness.

Inherited from ITile.

renderAt(context, clientBounds, animate)

Adds a tile to the parent HTML element.

Methods details

renderAt

Adds a tile to the parent HTML element.

Parameters:

ParameterDefault valueDescription
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.