public Dictionary<SurfaceRendererTarget,TinRendererDefinition> RendererDefinitions {get; set;}
Public Property RendererDefinitions As Dictionary(Of SurfaceRendererTarget,TinRendererDefinition)
public Dictionary<SurfaceRendererTarget,TinRendererDefinition> RendererDefinitions {get; set;}
Public Property RendererDefinitions As Dictionary(Of SurfaceRendererTarget,TinRendererDefinition)
//Must be on the QueuedTask.Run() var tinCP_renderers = new TinLayerCreationParams(tinDataset); tinCP_renderers.Name = "My TIN layer"; tinCP_renderers.IsVisible = true; // define the node renderer - use defaults var node_rd = new TinNodeRendererDefinition(); // define the face/surface renderer var face_rd = new TinFaceClassBreaksRendererDefinition(); face_rd.ClassificationMethod = ClassificationMethod.NaturalBreaks; // accept default color ramp, breakCount // set up the renderer dictionary var rendererDict = new Dictionary<SurfaceRendererTarget, TinRendererDefinition>(); rendererDict.Add(SurfaceRendererTarget.Points, node_rd); rendererDict.Add(SurfaceRendererTarget.Surface, face_rd); // assign the dictionary to the creation params tinCP_renderers.RendererDefinitions = rendererDict; // create the layer var tinLayer_rd = LayerFactory.Instance.CreateLayer<TinLayer>(tinCP_renderers, MapView.Active.Map);
Target Platforms: Windows 11, Windows 10