You are here

public static function DmsConverterInterface::decimalToDms in Geofield 8

Transforms a Decimal point to a dms one.

Parameters

float $lon: The Decimal Point to transform longitude.

float $lat: The Decimal Point to transform latitude.

Return value

\Drupal\geofield\DmsPoint The equivalent DMS Point object.

1 method overrides DmsConverterInterface::decimalToDms()
DmsConverter::decimalToDms in src/DmsConverter.php
Transforms a Decimal point to a dms one.

File

src/DmsConverterInterface.php, line 32

Class

DmsConverterInterface
Defines an interface for DmsConverter.

Namespace

Drupal\geofield

Code

public static function decimalToDms($lon, $lat);