3D Tiles Source
A 3d-tiles source points at a 3D Tiles tileset (a tileset.json hierarchy). Render it with a 3d-tiles layer.
Properties
Section titled “Properties”| Property | Type | Default | Description |
|---|---|---|---|
type | "3d-tiles" | (required) | Source type. |
url | string | (required) | URL of the tileset.json. |
crs | string | — | Coordinate reference system of the content. |
Example
Section titled “Example”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 } });Related Resources
Section titled “Related Resources”- About Source
- ModelMaterial — 3D model rendering options