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 {
return _style?.getStyleSourceProperty(id, "generateId").then((value) {
if (value.value != null) {
return value.value as bool;
} else {
return null;
}
});
}