NAME Geo::Hex - Convert between latitude/longitude and GeoHex code (version 2:world wide) SYNOPSIS use Geo::Hex; # From latitude/longitude to hex code my $code = latlng2geohex( $lat, $lng, $level ); # From hex code to center latitude/longitude my ( $center_lat, $center_lng, $level ) = geohex2latlng( $code ); # From latitude/longitude to zone object* my $zone = getZoneByLocation( $lat, $lng, $level
![Geo::Hex](https://cdn-ak-scissors.b.st-hatena.com/image/square/c4a607b5430575638fd9a7f233e073d867af4bb7/height=288;version=1;width=512/https%3A%2F%2Fmetacpan.org%2Fstatic%2Fimages%2Fdots.png)