Constructs a GeoJSONLoader.
Identifies the MIME type of files loaded by this parser.
Filename extensions expected on loaded model files.
The loaded model file format.
Gets the schema version of the given file data.
IDs of supported file schema versions.
Loads file data into a SceneModel and/or a DataModel.
The parameters used for loading the file data.
Options for customizing the loading process. These are specific to the Loader subclass.
Resolves when the file data has been successfully loaded into the SceneModel and/or DataModel.
Loads GeoJSON into a SceneModel and/or a DataModel.
The loader supports
FeatureCollection,Feature, geometry objects andGeometryCollectionmembers. Point and MultiPoint geometries become point primitives, LineString and MultiLineString geometries become line primitives, and Polygon and MultiPolygon geometries become triangulated surface meshes.For detailed usage, refer to @xeokit/sdk/formats/geojson.