IDomTile

Extends ITile.

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

Event manager.

Inherited from IEventEmitter.

Events

Name

Description

ready

Tile ready event.

Inherited from ITile.

Methods

Name

Returns

Description

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

{} renderAt(context, clientBounds, animate)

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.