How can we upgrade from Google Local API V1.0.3 to Google Map API in our rails application.
Also what are the other better plugins to use like YM4R/GM.
Rails 2.3.4
Ruby 1.8.7
How can we upgrade from Google Local API V1.0.3 to Google Map API in
Share
I’m using google_places gem google_places, gem simply allows an easy interface to send the required HTTP requests and parse the JSON output into ruby hashes.
This hits https://maps.googleapis.com/maps/api/place/search/json url.
Check The Google Places API for other options which can be passed as search parameters.
parse through @spot_list and take out the reference of each place returned in response. Now, @client.spot “reference” will gives the details of the business.
In this case https://maps.googleapis.com/maps/api/place/details/json is accessed to get the data