Last active
December 23, 2015 04:09
-
-
Save harikrishnan83/6578323 to your computer and use it in GitHub Desktop.
Given latitude and longitude get the city in ruby using Geokit gem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Put below line in an initializer script | |
Geokit::Geocoders::GOOGLE="<Your api key>" | |
Geokit::Geocoders::GoogleGeocoder3.reverse_geocode([12.9898001,77.7234591]) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment