Documentation / @giro3d/piero / modules / loaders / OSM
Class: OSM
Defined in: packages/piero/src/modules/loaders/OSM.ts:26
Add support for the OpenStreetMap basemap.
Implements
Constructors
Constructor
new OSM():
OSM
Returns
OSM
Properties
id
readonlyid:"builtin-loader-osm"='builtin-loader-osm'
Defined in: packages/piero/src/modules/loaders/OSM.ts:27
The unique id of the module, that also acts as a key to find the module configuration in the app configuration.
Implementation of
name
readonlyname:"OSM basemap"='OSM basemap'
Defined in: packages/piero/src/modules/loaders/OSM.ts:28
The readable name of the module.
Implementation of
Methods
initialize()
initialize(
context):void|Promise<void>
Defined in: packages/piero/src/modules/loaders/OSM.ts:30
Initialize this module on the Piero context.
Parameters
context
Returns
void | Promise<void>