lib/firstfm/location.rb in firstfm-0.2.2 vs lib/firstfm/location.rb in firstfm-0.2.3
- old
+ new
@@ -10,11 +10,11 @@
location = Location.new
location.city = hash["city"]
location.country = hash["country"]
location.postalcode = hash["postalcode"]
location.street = hash["street"]
- location.lat = hash["geo:point"]["geo:lat"] if hash["geo:point"]
- location.long = hash["geo:point"]["geo:lat"] if hash["geo:point"]
+ location.lat = hash["point"]["lat"] if hash["point"]
+ location.long = hash["point"]["long"] if hash["point"]
location
end
end
\ No newline at end of file