Skip to content

Uses rails asset pipeline to incorporate select utility functions from http://turfjs.org/

License

Notifications You must be signed in to change notification settings

sanborn/turf-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

turf-rails

This uses the Rails asset pipeline to load the Turf.js javascript library (http://turfjs.org/). Currently loads version 5.1.6 of Turf.js.

Installation

Add this line to your application's Gemfile:

gem 'turf-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install turf-rails

Usage

In assets/javascript/application.js, include the javascript file:

// = require turf

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sanborn/turf-rails.

License

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

About

Uses rails asset pipeline to incorporate select utility functions from http://turfjs.org/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published