createMultiWithHoles method

MultiPolygon createMultiWithHoles(
  1. LinearRing single,
  2. List<LinearRing> holes
)

Implementation

MultiPolygon createMultiWithHoles(LinearRing single, List<LinearRing> holes) {
  return geometryFactory.createMultiPolygon(
      <Polygon>[geometryFactory.createPolygon(single, holes)]);
}