Module: Google
- Defined in:
- lib/google_geocoder/google_geocoder.rb
Overview
Example:
"results"=> [
{"address_components"=>
[{"long_name"=>"Paris", "types"=>["locality", "political"], "short_name"=>"Paris",
"types"=>["administrative_area_level_2", "political" ], "short_name"=>"75",
"types"=>["administrative_area_level_1", "political"], "short_name"=>"IDF",
"types"=>["country", "political"], "short_name"=>"FR"
],
"geometry"=>{
"bounds"=>"lat"=>48.9021461, "southwest"=>"lat"=>48.8155414},
"location"=>"lat"=>48.8566667,
"location_type"=>"APPROXIMATE",
"viewport"=>"lat"=>48.915363, "southwest"=>"lat"=>48.7979015}
},
"types"=>["locality", "political"],
"formatted_address"=>"Paris, France"}
],
"status"=>"OK"
}
Defined Under Namespace
Classes: Geocoder