geometryType property
The type of geometry that all the features in the layer possess.
For point, multipoint, polyline or polygon feature layers, this will be the type of the feature's geometry. For annotation and dimension feature layers, this will be GeometryType.polygon (referring to the outline of the text graphic). For tables, this will be GeometryType.unknown.
Implementation
GeometryType get geometryType {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_FeatureServiceLayerIdInfo_getGeometryType(
_handle, errorHandler);
});
return GeometryType._fromCoreValue(coreValue);
}