Function geohashrust::decode [] [src]

pub fn decode(hash: &str) -> BoundingBox

Decode a GeoHash into a BoundingBox

Example

let bbox=geohashrust::decode("wtw3r9jjz");
assert!(bbox.contains(&geohashrust::GeoLocation::from_coordinates(31.163728, 121.625841)));