geometry.createPolygon(points) and Polygon(points)