v1.6.1) takes the following options -
- “Simple” (default): Returns a simple GeoJSON geometry.
- “Feature”: Wraps the geometry in a GeoJSON Feature.
- “FeatureCollection”: Wraps the Feature in a GeoJSON FeatureCollection.
Signatures
Parameters
Geometry
required
The input geometry.
String
The output type.
Return type
A string representation.

