Geohash.neighbors
You're seeing just the function
neighbors
, go back to Geohash module for more information.
Calculate adjacent hashes for the 8 touching neighbors/1
.
Examples
iex> Geohash.neighbors("abx1")
%{
"n" => "abx4",
"s" => "abx0",
"e" => "abx3",
"w" => "abwc",
"ne" => "abx6",
"se" => "abx2",
"nw" => "abwf",
"sw" => "abwb"
}