You are here

public function WktGeneratorInterface::wktBuildPolygon in Geofield 8

Returns a WKT format polygon feature given an array of points.

Parameters

array $points: The polygon components.

Return value

string The WKT polygon feature.

1 method overrides WktGeneratorInterface::wktBuildPolygon()
WktGenerator::wktBuildPolygon in src/WktGenerator.php
Returns a WKT format polygon feature given an array of points.

File

src/WktGeneratorInterface.php, line 91

Class

WktGeneratorInterface
Defines an interface for WktGenerator.

Namespace

Drupal\geofield

Code

public function wktBuildPolygon(array $points);