Skip to content

Commit

Permalink
Update ktdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
shobhitagarwal1612 committed Aug 24, 2024
1 parent 5258260 commit 099aceb
Showing 1 changed file with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@ import com.google.android.ground.proto.Point as PointProto
import com.google.android.ground.proto.Polygon as PolygonProto

/**
* Converts between Geometry model objects and their equivalent remote representation using a
* modified GeoJSON representation:
* * The GeoJSON map hierarchy is converted to a Firestore nested map.
* * Since Firestore does not allow nested arrays, arrays are replaced with nested maps, keyed by
* * integer array index.
* * Coordinates (two-element double arrays) are represented as a Firestore GeoPoint.
*
* Only `Point`, `Polygon`, and `MultiPolygon` are supported; behavior for other geometry types is
* undefined.
* Converts between Geometry model objects and their equivalent remote representation using protos.
*/
object GeometryConverter {

Expand Down

0 comments on commit 099aceb

Please sign in to comment.