Geo.JSON.encode

You're seeing just the function encode, go back to Geo.JSON module for more information.

Specs

encode(Geo.geometry()) ::
  {:ok, map()} | {:error, Geo.JSON.Encoder.EncodeError.t()}

Takes a Geometry and returns a map representing the GeoJSON.

See Geo.JSON.Encoder.encode/2.