Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Location
Distance
DistanceInterface
PHP Interface Location\Distance\DistanceInterface
See link:
https://github.com/mjaschen/phpgeo
Author:
Marcus Jaschen (
[email protected]
)
Mostrar archivo
Open project: mjaschen/phpgeo
Interface Usage Examples
Public Methods
Method
Description
getDistance
(
Coordinate
$point1
,
Coordinate
$point2
) :
float
Method Details
getDistance()
public
method
public
getDistance
(
Coordinate
$point1
,
Coordinate
$point2
) :
float
$point1
Location\Coordinate
$point2
Location\Coordinate
return
float
distance between the two coordinates in meters