Sha256: d9f2ced61850cfe3e6da75f98331261d44f757a3f9014f08cb695a8062965711

Contents?: true

Size: 690 Bytes

Versions: 3

Compression:

Stored size: 690 Bytes

Contents

= google-geocode

Rubyforge Project:

http://rubyforge.org/projects/rctools

Documentation:

http://dev.robotcoop.com/Libraries/google-geocode

== About

google-geocode implements Google's Geocoding API.

== Installing google-geocode

Just install the gem:

  $ sudo gem install google-geocode

== Using google-geocode

First you need a Google Maps API key.  Yuo can register for one here:

http://www.google.com/apis/maps/signup.html

Then you create a GoogleGeocode object and start locating addresses:

  require 'rubygems'
  require 'google_geocode'
  
  gg = GoogleGeocode.new application_id
  location = gg.locate '1600 Amphitheater Pkwy, Mountain View, CA'
  p location.coordinates

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google-geocode-1.0.0 README
google-geocode-1.1.0 README
google-geocode-1.2.0 README