ITile

Extends IEventEmitter, ITileInfoProvider.

Interface for tiles.

Constructor | Fields | Events | Methods

Constructor

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

Methods

Name Returns Description
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.