Chevron Down
Table of Contents
Chevron DownAPI Reference

Tileset3DLoader

The 3D tile loaders are still under development.

Parses a main tileset JSON file as the entry point to define a 3D tileset.

LoaderCharacteristic
File Extensions.json
File TypeJSON
File Format3D Tileset JSON
Data FormatJSON
Decoder TypeSynchronous
Worker Thread SupportNo
Streaming SupportNo

Usage

import {Tileset3DLoader, Tileset3D} from '^loaders.gl/3d-tiles';
const tilesetJson = await load(
  'http://localhost:8002/tilesets/Seattle/tileset.json',
  Tileset3DLoader
);
const tileset = new Tileset3D(tilesetJson);

Options

OptionTypeDefaultDescription