You are here

public static function DmsConverterInterface::dmsToDecimal in Geofield 8

Transforms a DMS point to a decimal one.

Parameters

\Drupal\geofield\DmsPoint $point: The DMS Point to transform.

Return value

array The equivalent Decimal Point array.

1 method overrides DmsConverterInterface::dmsToDecimal()
DmsConverter::dmsToDecimal in src/DmsConverter.php
Transforms a DMS point to a decimal one.

File

src/DmsConverterInterface.php, line 19

Class

DmsConverterInterface
Defines an interface for DmsConverter.

Namespace

Drupal\geofield

Code

public static function dmsToDecimal(DmsPoint $point);