Sha256: 9701a4ac0455c5fa4698c86b3655f29351871d1274d54fd9f1e7b1fe71042b8d

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

# GoogleMapsRails

[![Gem Version](https://badge.fury.io/rb/google_maps_rails.svg)](https://badge.fury.io/rb/google_maps_rails)
[![Build Status](https://travis-ci.org/luizpicolo/google-maps-rails.svg?branch=master)](https://travis-ci.org/luizpicolo/google-maps-rails)

This is a simple library for embed google maps in your app rails

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'google_maps_rails'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install google_maps_rails

## Usage

Add the code in local where you want embed the map. Change params "LONG, LAT, WIDTH, HEIGHT"

```ruby
<%= embed_google_maps(LONG, LAT, WIDTH, HEIGHT) %>
```
Example (use http://www.latlong.net/)

```ruby
<%= embed_google_maps('-20.262197', '-54.799805', '250', '250') %>
```

## license

See Mit license http://luizpicolo.mit-license.org/

## Contributing

1. Fork it ( https://github.com/[my-github-username]/google_maps_rails/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 a new Pull Request

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
google_maps_rails-1.0.3 README.md
google_maps_rails-0.0.3 README.md
google_maps_rails-0.0.2 README.md