Commits

Ning Sun committed fd1292b

minor improvement

Comments (0)

Files changed (1)

   (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))]
-    {
-      :minlon (:minlon bbox)
-      :maxlon (:maxlon bbox)
-      :minlat (:minlat bbox)
-      :maxlat (:maxlat bbox)}))
+    (dissoc (hash-map geocode-data)
+      :islon
+      :bits
+      :hashcode
+      :hashstring)))
 
 (defn decode [hashstring]
   (let [