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 |
{
string tinPath = @"d:\Data\Tin\TinDataset";
var tinURI = new Uri(tinPath);
var tinCP = new TinLayerCreationParams(tinURI);
tinCP.Name = "My TIN Layer";
tinCP.IsVisible = false;
// Note: Needs QueuedTask to run
{
//Create the layer to the TIN
tinLayer = LayerFactory.Instance.CreateLayer<TinLayer>(tinCP, map);
}
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)