Parameters
- uri
- A System.Uri represents the path or url to a dataset or .lyrx or .lpkx file.
Some sample paths to:
A TinDataset | C:\Data\Hurricane_Tin |
//Must be on the QueuedTask.Run() string tinPath = @"d:\Data\Tin\TinDataset"; var tinURI = new Uri(tinPath); var tinCP = new TinLayerCreationParams(tinURI); tinCP.Name = "My TIN Layer"; tinCP.IsVisible = false; //Create the layer to the TIN var tinLayer = LayerFactory.Instance.CreateLayer<TinLayer>(tinCP, map);
Target Platforms: Windows 11, Windows 10