Skip to content

GeoJSON @giro3d/piero ​

Add support for GeoJSON files.

Usage with createPieroApp ​

js
import { loaders } from '@giro3d/piero/modules';

createPieroApp({
    ...
    modules: [
        loaders.GeoJSON
        ...
    ]
})

Usage ​

This module provides the geojson dataset type, configured as such:

json
{
    "type": "geojson",
    "url": "https://example.com/data.geojson",
    "projection": "EPSG:4326",
    "name": "My GeoJSON Dataset"
}