You are here

public function WktGenerator::wktGenerateMultipoint in Geofield 8

Returns a WKT format multipoint feature.

Return value

string The WKT multipoint feature.

Overrides WktGeneratorInterface::wktGenerateMultipoint

File

src/WktGenerator.php, line 148

Class

WktGenerator
Helper class that generates WKT format geometries.

Namespace

Drupal\geofield

Code

public function wktGenerateMultipoint() {
  return $this
    ->buildWkt(GEOFIELD_TYPE_MULTIPOINT, $this
    ->generateMultipoint());
}