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\geofieldCode
public function wktGenerateMultipolygon() {
return $this
->buildWkt(GEOFIELD_TYPE_MULTIPOLYGON, $this
->generateMultipolygon());
}