Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Crews committed Jul 15, 2010
1 parent b1aa7b1 commit d34d2ab
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,13 @@ http://code.google.com/apis/maps/signup.html

Include it as the constant GOOGLE_MAPS_API_KEY in an app configuration file (environment.rb, config/initializers/api_keys.rb)

h3. Need turn-by-turn directions?

Not yet included in this gem, but you can do it with nokogiri to parse the XML that comes back when you do
<pre>GoogleDirections.new(origin, destination).xml</pre>
And then nokogiri can cycle through each <step> and you can pick out what you need.

h2. License

Anyone can use this code in any way.

0 comments on commit d34d2ab

Please sign in to comment.