Skip to content

Documentation / @giro3d/piero / modules / loaders / MapboxLoader

Class: MapboxLoader ​

Defined in: packages/piero/src/modules/loaders/MapboxLoader.ts:67

Add support for Mapbox tilesets.

Implements ​

Constructors ​

Constructor ​

new MapboxLoader(): MapboxLoader

Returns ​

MapboxLoader

Properties ​

id ​

readonly id: string = 'builtin-loader-mapbox'

Defined in: packages/piero/src/modules/loaders/MapboxLoader.ts:68

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

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

The readable name of the module.

Implementation of ​

Module.name

Methods ​

initialize() ​

initialize(context): void | Promise<void>

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

Initialize this module on the Piero context.

Parameters ​

context ​

PieroContext

Returns ​

void | Promise<void>

Implementation of ​

Module.initialize