leaflet-awesome-markers-rails

Leaflet.awesome-markers for the Rails asset pipeline.

Installation

Add this line to your application's Gemfile:

gem 'leaflet-awesome-markers-rails', '~> 2.0'

Make sure you are also including leaflet.js, e.g. with the leaflet-rails gem.

And then execute:

bundle install

Add the JS to your application.js:

//= require leaflet.awesome-markers

And add the CSS to your application.scss:

@import "leaflet.awesome-markers";

Usage

See the Leaflet.awesome-markers documentation for usage instructions.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/fishpercolator/leaflet-awesome-markers-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.