MapChart AddFeatureLayer Method TIBCO Spotfire 6.0 API Reference
Adds a feature layer from a table.

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public FeatureLayer AddFeatureLayer(
	DataTable featureTable
)

Return Value

Type: FeatureLayer
A newly created feature layer.
Exceptions

ExceptionCondition
System InvalidOperationExceptionIf the map chart already contains a FeatureLayer or a PictureLayer
Remarks

The returned layer is one of PolygonLayer, LineLayer and PointLayer depending on the table content. It is not possible to add more than one feature layer.
See Also