val layer: Layer?

The layer that displays this table, if any. The Layer type depends on how the feature table is created. For example, a Layer will be an AnnotationLayer if the FeatureTable is created from a table that supports annotation. See Layer for more information about the supported layer types.

The layer will be null if the feature table does not contain spatial features (where FeatureTable.hasGeometry is false).