Closed dooma closed 10 years ago
First of all, I tried with #places_for_address, and I got this error:
#places_for_address
undefined method `places_for_address' for Gmaps4rails:Module
I thought that I need lat and long, so I changed the #places_for_address to #geocode and now:
lat
long
#geocode
undefined method `geocode' for Gmaps4rails:Module
I had a look over the source code, but I didn't see any methods like above. Are them obsolete?
yes, deprecated in v2, its explained in the wiki
Oh, yes. I didn't noticed the line that explains that geocoding is handled by geocoder. Thanks!
geocoder
First of all, I tried with
#places_for_address
, and I got this error:I thought that I need
lat
andlong
, so I changed the#places_for_address
to#geocode
and now:I had a look over the source code, but I didn't see any methods like above. Are them obsolete?