CityJSONLoader @giro3d/piero-plugin-cityjson
Add support for CityJSON datasets.
This module is part of an external package
To use it, you must install @giro3d/piero-plugin-cityjson.
Usage with createPieroApp
js
import { CityJSONLoader } from '@giro3d/piero-plugin-cityjson';
createPieroApp({
...
modules: [
CityJSONLoader
...
]
})Usage
This module provides the cityjson dataset type, configured as such:
json
{
"type": "cityjson",
"url": "http://example.com/path/to/dataset.json",
...
}See CityJSONDataset for all available options.