Skip to content

3D Tiles Source

A 3d-tiles source points at a 3D Tiles tileset (a tileset.json hierarchy). Render it with a 3d-tiles layer.

PropertyTypeDefaultDescription
type"3d-tiles"(required)Source type.
urlstring(required)URL of the tileset.json.
crsstringCoordinate reference system of the content.
import ThreeView from "@navaramap/three";
const tileset = view.addSource({
type: "3d-tiles",
url: "https://example.com/tileset.json",
});
view.addLayer({ type: "3d-tiles", source: tileset, model: { opacity: 1.0 } });