MultipointBuilder

constructor(multipoint: Multipoint?, block: MultipointBuilder.() -> Unit = {})

Creates a multipoint builder from a multipoint.

The SpatialReference of the multipoint point builder will match that of the specified Multipoint.

Since

200.1.0

Parameters

multipoint

a Multipoint from which to start this builder

block

a trailing lambda parameter from within which to configure the builder.

See also


constructor(spatialReference: SpatialReference? = null, block: MultipointBuilder.() -> Unit = {})

Creates an empty multipoint builder with the specified SpatialReference.

The SpatialReference cannot be changed after instantiation.

Since

200.1.0

Parameters

spatialReference

a SpatialReference from which to start this builder

block

a trailing lambda parameter from within which to configure the builder.


constructor(points: Iterable<Point>, spatialReference: SpatialReference? = null, block: MultipointBuilder.() -> Unit = {})

Creates a multipoint builder with an Iterable of Point.

The spatial reference of the builder will be either the spatial reference of the first point or null if there are no points.

Since

200.1.0

Parameters

points

the points with which to create the builder. All points must have the same spatial reference.

spatialReference

the spatial reference for the builder, defaults to null.

block

a trailing lambda parameter from within which to configure the builder.