Function oldnav_lib::navdata::geohash::neighbor [] [src]

pub fn neighbor(geohash: u64, dir: (i8, i8), range: &Bounds, spherical: bool) -> Result<u64String>

Get the neighboring hash in the direction specified spherical: is whether or not to use spherical rectification/bounds wrapping.

Example