3D Tiles Source
3d-tiles Source は 3D Tiles タイルセット(tileset.json 階層)を指します。3d-tiles レイヤーで描画します。
| プロパティ | 型 | デフォルト | 説明 |
|---|---|---|---|
type | "3d-tiles" | (必須) | Source のタイプ。 |
url | string | (必須) | tileset.json の URL。 |
crs | string | — | コンテンツの座標参照系。 |
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 } });関連リソース
Section titled “関連リソース”- About Source
- ModelMaterial: 3D モデルの描画オプション