OSMLoader @giro3d/piero
Add support for OpenStreetMap layers.
Usage with createPieroApp
js
import { loaders } from '@giro3d/piero/modules';
createPieroApp({
...
modules: [
loaders.OSMLoader
...
]
})Usage
This module provides the osm dataset type, configured as such:
json
{
"type": "osm",
...
}No additional configuration is required.
This will add the default OpenStreetMap layer to the basemap.