search for: address_components

Displaying 1 result from an estimated 1 matches for "address_components".

2014 Feb 06
0
Array Confusion
...#39;m quite confused about. I can't even read it. Can someone shed some light as to how to reach into this array of hashes (that's what I can see) to get the location lat and lon? res = Geocoder.search(addy1) This is the res: [#<Geocoder::Result::Google:0x007fb46c345e18 @data={"address_components"=>[{"long_name"=>"1600", "short_name"=>"1600", "types"=>["street_number"]}, {"long_name"=>"Amphitheatre Parkway", "short_name"=>"Amphitheatre Pkwy", "types"=>[&quo...