C# Class MyDynamicLayer.MyDynamicLayerClass

Inheritance: ESRI.ArcGIS.ADF.BaseClasses.BaseDynamicLayer
Exibir arquivo Open project: Esri/arcobjects-sdk-community-samples Class Usage Examples

Public Methods

Method Description
AddItem ( DataRow row ) : void
Connect ( ) : void
Disconnect ( ) : void
DrawDynamicLayer ( ESRI DynamicDrawPhase, ESRI Display, ESRI DynamicDisplay ) : void

The dynamic layer draw method

MyDynamicLayerClass ( ) : System
NewItem ( ) : DataRow

Private Methods

Method Description
CreateDynamicSymbols ( IDynamicGlyphFactory2 pDynamicGlyphFactory ) : void

create the layer's glyphs used to set the symbol of the dynamic-layer items

GetLayerExtent ( ) : void

Calculates the layer extent

IntializeLayerData ( IDisplayTransformation displayTransformation ) : void

Initialize the synthetic data of the layer

OnLayerUpdateEvent ( object sender, System.Timers.ElapsedEventArgs e ) : void

timer elapsed event handler, used to update the layer

This layer has synthetic data, and therefore need the timer in order to update the layers' items.

Method Details

AddItem() public method

public AddItem ( DataRow row ) : void
row System.Data.DataRow
return void

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

DrawDynamicLayer() public method

The dynamic layer draw method
public DrawDynamicLayer ( ESRI DynamicDrawPhase, ESRI Display, ESRI DynamicDisplay ) : void
DynamicDrawPhase ESRI the current drawphase of the dynamic drawing
Display ESRI the ActiveView's display
DynamicDisplay ESRI the ActiveView's dynamic display
return void

MyDynamicLayerClass() public method

public MyDynamicLayerClass ( ) : System
return System

NewItem() public method

public NewItem ( ) : DataRow
return System.Data.DataRow