generateId property
Whether to generate ids for the GeoJSON features. When enabled, the feature.id property will be auto assigned based on its index in the features array, over-writing any previous values.
Default value: false.
Implementation
Future<bool?> get generateId async {
final localStyle = style;
if (localStyle == null) return null;
final raw = (await localStyle.getStyleSourceProperty(
id,
"generateId",
)).value;
if (raw == null) return null;
return raw as bool;
}