easy_map_tiles
Generate simple tiles from google maps that you can use for backgrounds or previews.
Installation
Add this line to your application's Gemfile:
gem 'easy_map_tiles'And then execute:
$ bundle
Or install it yourself as:
$ gem install easy_map_tiles
Example
Usage
zoom_levels = [7,8,9,10]
puts EasyMapTiles.tile_div(39.915036, 116.404996, zoom_levels, satellite: false, marker: true)Contributing
- Fork it ( https://github.com/naema/easy_map_tiles/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request