\LvhtGeoHash

Summary

Methods
Properties
Constants
encode()
expand()
getRect()
decode()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$table
$bits
N/A

Properties

$table

$table : 

Type

$bits

$bits : 

Type

Methods

encode()

encode(  $lng,   $lat,   $prec = 1.0E-5) 

Parameters

$lng
$lat
$prec

expand()

expand(  $hash,   $prec = 1.0E-5) 

Parameters

$hash
$prec

getRect()

getRect(  $hash) 

Parameters

$hash

decode()

decode(  $hash) : array

decode a geohash string to a geographical area

Parameters

$hash

Returns

array —

array($minlng, $maxlng, $minlat, $maxlat);