createPolygonGeometry

Build a Geometry object of type polygon from a List<List<List<Double>>> object with the polygon coordinates.

Return

The Geometry object of type polygon created.

Parameters

polygon

The polygon coordinates with format [longitude, latitude].