toJson

fun toJson(polygonGeometry: PolygonGeometry): String(source)

Encodes a PolygonGeometry into a JSON string.

Return

The encoded JSON string.

Parameters

polygonGeometry

The object to encode.