Documentation

Geo
in package

AbstractYes

Utility class for geographical attributes and calculations. Not to be confused with the geo interface.

Tags
see
geo

Table of Contents

Methods

distance()  : float
Get distance between two geographic points by lat/lng pairs. Returns a number in miles.

Methods

distance()

Get distance between two geographic points by lat/lng pairs. Returns a number in miles.

public static distance(float $latA, float $lngA, float $latB, float $lngB) : float
Parameters
$latA : float
$lngA : float
$latB : float
$lngB : float
Return values
float

        
On this page

Search results