Skip to content

Documentation / @giro3d/piero / modules / loaders / WMSLoader

Class: WMSLoader ​

Defined in: packages/piero/src/modules/loaders/WMSLoader.ts:44

Add support for WMS (Web Map Service) layers.

Implements ​

Constructors ​

Constructor ​

new WMSLoader(): WMSLoader

Returns ​

WMSLoader

Properties ​

id ​

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

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

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

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

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void | Promise<void>

Defined in: packages/piero/src/modules/loaders/WMSLoader.ts:48

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize