Volt::Gmaps

Adds a google map view for Volt apps. This will let you scroll the page when you mouse over the map

Installation

Add this line to your application's Gemfile:

gem 'volt-gmaps'

And then execute:

$ bundle

Or install it yourself as:

$ gem install volt-gmaps

Usage

Typical Usage

<:gmaps height="380px" width="500px" location="4591 St-Denis, Montreal" />

Location can be a street address or 'lat,lon' coordinates

You can also add a key attribute

Contributing

  1. Fork it ( http://github.com/[my-github-username]/volt-gmaps/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request