Skip to content

Documentation / @giro3d/piero / modules / loaders / TMSLoader

Class: TMSLoader ​

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

Add support for TMS (Tile Map Service) tilesets.

Implements ​

Constructors ​

Constructor ​

new TMSLoader(): TMSLoader

Returns ​

TMSLoader

Properties ​

id ​

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

Defined in: packages/piero/src/modules/loaders/TMSLoader.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/TMSLoader.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/TMSLoader.ts:49

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize