agate / mapbox-all-in-one-rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mapbox All-In-1 Gem For Rails

List

  • mapbox.js - 1.6.3
  • leaflet.draw.js - 0.2.3-dev
  • wicket
  • wicket-leaflet

Installation

Add mapbox-all-in-one-rails to your Gemfile and run bundle install:

gem 'mapbox-all-in-one-rails'

Include javascript assets in app/assets/javascripts/application.js

//= require mapbox-all-in-one

Include stylesheet assets in app/assets/stylesheets/application.css

/*= require mapbox-all-in-one */

Include conditional IE stylesheet in your layout (example markup in slim)

/[if IE lte 8]
  = stylesheet_link_tag 'mapbox.all.in.one.ie'

Contributing

Fork & send a pull with decent commit messages

Credits

Hao Hong

About

License:MIT License


Languages

Language:Ruby 94.4%Language:Shell 5.6%