addFeature
Adds a Feature to a FeatureCollectionBuilder with both geometry and properties provided upfront.
Providing values upfront allows them to have non-nullable types.
Parameters
The geometry associated with the feature.
The properties associated with the feature.
The builder configuration block where id, bbox, and foreignMembers can be set.
Adds a Feature to a FeatureCollectionBuilder with geometry provided upfront.
Properties default to null but can be set in the builder block.
Parameters
The geometry associated with the feature.
The builder configuration block where properties, id, bbox, and foreignMembers can be set.
Adds a Feature to a FeatureCollectionBuilder.
Both geometry and properties default to null but can be set in the builder block.
Parameters
The builder configuration block where geometry, properties, id, bbox, and foreignMembers can be set.