Function geohash::decode_bbox[][src]

pub fn decode_bbox(hash_str: &str) -> (Coordinate<f64>, Coordinate<f64>)

Decode geohash string into latitude, longitude

Parameters: Geohash encoded &str

Returns: A four-element tuple describs a bound box:

  • min_lat
  • max_lat
  • min_lon
  • max_lon