You are here

public function WktGenerator::wktGenerateMultipolygon in Geofield 8

Returns a WKT format multipolygon feature.

Return value

string The WKT multipolygon feature.

Overrides WktGeneratorInterface::wktGenerateMultipolygon

File

src/WktGenerator.php, line 308

Class

WktGenerator
Helper class that generates WKT format geometries.

Namespace

Drupal\geofield

Code

public function wktGenerateMultipolygon() {
  return $this
    ->buildWkt(GEOFIELD_TYPE_MULTIPOLYGON, $this
    ->generateMultipolygon());
}