point
Creates a Point
geometry from a position.
Type Parameters
-
P
Parameters
Name | Type | Description |
---|---|---|
pt | Position | Point 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
Point<P>
A new point Geometry object