ITile

Extends IEventEmitter, ITileInfoProvider.

Interface for tiles.

Constructor | Fields | Events | Methods

Constructor

ITile(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.

Methods

NameReturnsDescription
destroy()

Destroys the tile.

isReady()

Boolean

Checks tile readiness.

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.