multiPoint
Creates a MultiPoint
geometry from an array of positions.
Type Parameters
-
P
Parameters
Name | Type | Description |
---|---|---|
pts | Position[] | MultiPoint coordinates |
options? | object | Optional geometry options |
options.id? | number | string | Optional identifier to be assigned to the geometry instance. |
options.properties? | P | Optional data to be assigned to the geometry instance. |
Returns
MultiPoint<P>
A new Geometry object