You are here

public function DmsPoint::__construct in Geofield 8

DmsPoint constructor.

Parameters

array $lon: The longitude components.

array $lat: The latitude components.

File

src/DmsPoint.php, line 32

Class

DmsPoint
Helper class to map DMS Point structure.

Namespace

Drupal\geofield

Code

public function __construct(array $lon, array $lat) {
  $this->lat = $lat;
  $this->lon = $lon;
}