PHP Interface Location\Distance\DistanceInterface

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