serializePolygonSet function

Object serializePolygonSet(
  1. Set<Polygon> polygons
)

Converts a Set of Polygons into something serializable in JSON.

Implementation

Object serializePolygonSet(Set<Polygon> polygons) {
  return serializeMapsObjectSet(polygons);
}