Polygon
An area or a line drawn on the map.
Fields
typestringrequiredAlways"polygon"idstringrequiredparentIdstringFor a hole or a buffer, the shape it belongs to.groupIdstringThe group the shape is in.productIdstringThe first product on the shape (see productIds).productIdsarray of stringEvery product on the shape, in order. Work is often layered.titlestringdescriptionstringshapestringrequiredOne ofpolygoncirclerectanglenumPointsintegerHow many corners it has.fillColorstringHex colour.fillOpacitynumber0 to 1lineColorstringHex colour.lineWidthnumbertotalAreanumberIts area in square metres; 0 for a line.totalPerimeternumberIts perimeter (or a line's length) in metres.noSurfacebooleantruefor a line.isBufferbooleanisHolebooleanimagesarray of stringpointsarray of PointIts corners in order. Left out withincludePoints=false.