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

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 14.10.7525.5058 (14.10.7525.5058)
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.
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also