Visualizing LuciadFusion coverages on a map requires two steps:
-
Create a
FusionTileSetModel
by connecting to the Luciad Tile Service (LTS) service. -
Use a
RasterTileSetLayer
to visualize the model.
const serviceURL = "https://sampleservices.luciad.com/lts";
const coverageID = "92c09725-a9c5-46fb-bffd-d9e23b4abbf2";
FusionTileSetModel.createFromURL(serviceURL, coverageID)
.then(function(model) {
//Create a layer for the Fusion model
const layer = new RasterTileSetLayer(model);
//Add the layer to the map
map.layerTree.addChild(layer);
});