You are here

public function WktGeneratorInterface::wktGeneratePoint in Geofield 8

Returns a WKT format point feature.

Parameters

array $point: A Lon Lat array. By default create a random pair.

Return value

string The WKT point feature.

1 method overrides WktGeneratorInterface::wktGeneratePoint()
WktGenerator::wktGeneratePoint in src/WktGenerator.php
Returns a WKT format point feature.

File

src/WktGeneratorInterface.php, line 40

Class

WktGeneratorInterface
Defines an interface for WktGenerator.

Namespace

Drupal\geofield

Code

public function wktGeneratePoint(array $point = NULL);