Documentation / @giro3d/piero / modules / loaders / OSMLoader
Class: OSMLoader
Defined in: packages/piero/src/modules/loaders/OSMLoader.ts:26
Add support for the OpenStreetMap basemap.
Implements
Constructors
Constructor
new OSMLoader():
OSMLoader
Returns
OSMLoader
Properties
id
readonlyid:"builtin-loader-osm"='builtin-loader-osm'
Defined in: packages/piero/src/modules/loaders/OSMLoader.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/OSMLoader.ts:28
The readable name of the module.
Implementation of
Methods
initialize()
initialize(
context):void|Promise<void>
Defined in: packages/piero/src/modules/loaders/OSMLoader.ts:30
Initialize this module on the Piero context.
Parameters
context
Returns
void | Promise<void>