Skip to content

Documentation / @giro3d/piero / modules / loaders / TMS

Class: TMS ​

Defined in: packages/piero/src/modules/loaders/TMS.ts:45

Add support for TMS (Tile Map Service) tilesets.

Implements ​

Constructors ​

Constructor ​

new TMS(): TMS

Returns ​

TMS

Properties ​

id ​

readonly id: "builtin-loader-tms" = 'builtin-loader-tms'

Defined in: packages/piero/src/modules/loaders/TMS.ts:46

The unique id of the module, that also acts as a key to find the module configuration in the app configuration.

Implementation of ​

Module.id


name ​

readonly name: "TMS" = 'TMS'

Defined in: packages/piero/src/modules/loaders/TMS.ts:47

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void | Promise<void>

Defined in: packages/piero/src/modules/loaders/TMS.ts:49

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize