MapChart AddFeatureLayer Method TIBCO Spotfire 7.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: 18.10.8513.5432 (18.10.8513.5432)
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: 7.0, 6.5, 6.0, 5.5, 5.0
See Also