FeatureCollectionBuilder
Builder for constructing FeatureCollection objects using a DSL.
See also
Properties
Link copied to clipboard
An optional BoundingBox for this FeatureCollection.
Functions
Link copied to clipboard
inline fun <G : Geometry, P : @Serializable Any> FeatureCollectionBuilder<in G?, in P?>.addFeature(builderAction: FeatureBuilder<G?, P?>.() -> Unit = {})
Adds a Feature to a FeatureCollectionBuilder.
inline fun <G : Geometry?, P : @Serializable Any> FeatureCollectionBuilder<in G, in P?>.addFeature(geometry: G, builderAction: FeatureBuilder<G, P?>.() -> Unit = {})
Adds a Feature to a FeatureCollectionBuilder with geometry provided upfront.
inline fun <G : Geometry?, P> FeatureCollectionBuilder<in G, in P>.addFeature(geometry: G, properties: P, builderAction: FeatureBuilder<G, P>.() -> Unit = {})
Adds a Feature to a FeatureCollectionBuilder with both geometry and properties provided upfront.
Link copied to clipboard
Builds the FeatureCollection from the configured values.