Visualizing OGC 3D Tiles data on a map requires two steps:

  1. Create an OGC3DTilesModel by connecting to the service.

  2. Use a TileSet3DLayer to visualize the model.

// Create a model for the OGC 3D tileset
const url = "https://sampleservices.luciad.com/ogc/3dtiles/marseille-mesh/tileset.json";
OGC3DTilesModel.create(url).then(function(model) {
  //Create a layer for the model
  const layer = new TileSet3DLayer(model);
  //Add the layer to the map
  map.layerTree.addChild(layer);
});