Skip to content

Documentation / @giro3d/piero / modules / loaders / WMTSLoader

Class: WMTSLoader ​

Defined in: packages/piero/src/modules/loaders/WMTSLoader.ts:54

Add support for WMTS (Web Map Tile Service) layers.

Implements ​

Constructors ​

Constructor ​

new WMTSLoader(): WMTSLoader

Returns ​

WMTSLoader

Properties ​

id ​

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

Defined in: packages/piero/src/modules/loaders/WMTSLoader.ts:55

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: "WMTS" = 'WMTS'

Defined in: packages/piero/src/modules/loaders/WMTSLoader.ts:56

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void | Promise<void>

Defined in: packages/piero/src/modules/loaders/WMTSLoader.ts:58

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize