Skip to content

zentrification/leaflet-draw-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leaflet-draw-rails

Leaflet.draw packaged for the rails asset pipeline

Installation

Add leaflet-draw-rails to your Gemfile and run bundle install:

gem 'leaflet-draw-rails'

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

    //= require leaflet.draw

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

    *= require leaflet.draw

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

    /[if IE lte 8]
      = stylesheet_link_tag 'leaflet.draw.ie'

Contributing

Fork & send a pull with decent commit messages

Credits

Jacob Toye and brunob

About

Leaflet.draw plugin packaged for the rails 3 asset pipeline

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages