Source

clojure-geohash / src / geohash / core.clj

Diff from to

src/geohash/core.clj

   (let [
         hashcodes (map base32-index hashstring)
         bbox (do-decode-bbox hashcodes (struct geocode-data 180.0 -180.0 90.0 -90.0 true nil nil nil))]
-    (dissoc bbox :islon :bits :hashcode :hashstring)))
+    {
+      :minlon (:minlon bbox)
+      :maxlon (:maxlon bbox)
+      :minlat (:minlat bbox)
+      :maxlat (:maxlat bbox)}))
 
 (defn decode [hashstring]
   (let [