Skip to content

Documentation / @giro3d/piero / modules / loaders / KMLLoader

Class: KMLLoader ​

Defined in: packages/piero/src/modules/loaders/KMLLoader.ts:69

Add support for KML (Keyhole Markup Language) files.

Implements ​

Constructors ​

Constructor ​

new KMLLoader(): KMLLoader

Returns ​

KMLLoader

Properties ​

id ​

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

Defined in: packages/piero/src/modules/loaders/KMLLoader.ts:70

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

Defined in: packages/piero/src/modules/loaders/KMLLoader.ts:71

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void | Promise<void>

Defined in: packages/piero/src/modules/loaders/KMLLoader.ts:73

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize