Hi,
First time I am creating and inserting a data in table. Then creating and adding a layer based on that table in the active map using the following method
CreateLayer<T>(
LayerCreationParams layerParams,
ILayerContainerEdit container
)
Now from second time onwards I have to delete the data from that table as well as layer and insert new data in the same table as well in the same existing layer. Again if I will use the above method it will create one more layer with the same name which I don’t want.
I am able to delete the data from the table and I will have a table with the new data. But how to insert data in that existing layer in the active map without deleting it?
I saw one option but that is using editing and also at row/feature level. Also in this way I have to again create a dict to fill it with new column value. But since I have a ready whole table with new data, any other option to convert/fill that data directly in the existing layer present in active map view.
public RowToken Create(
Layer layer,
Geometry geometry,
Dictionary<string,object> values
)
@Wolf @CharlesMacleod @GKmieliauskas