Spatial K
Toggle table of contents
0.4.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Spatial K
geojson
/
org.maplibre.spatialk.geojson
/
MultiGeometry
/
Companion
/
toJson
to
Json
@
JvmStatic
fun
toJson
(
multiGeometry
:
MultiGeometry
)
:
String
(
source
)
Encodes a
MultiGeometry
into a JSON string.
Return
The encoded JSON string.
Parameters
multi
Geometry
The object to encode.