day-tripper
===========

Day-tripper is a jQuery plug-in that helps people draw pretty route maps. It's basically a cozy API wrapper around several existing Leaflet.js plug-ins, with the goal of making it easy to turn any block-level element into an editable route map. It supports PNG export as well as importing/exporting geoJSON layers.

Dependencies are as follows:

 - [jQuery](www.jquery.com)
 - [Leaflet.js](www.leafletjs.com) (or Mapbox's add-on)
 - [html2canvas](http://html2canvas.hertzen.com) (with "useCORS" set -- see [Leaflet Save Map to PNG](https://github.com/tegansnyder/Leaflet-Save-Map-to-PNG))
 - [Leaflet.Draw](https://github.com/Leaflet/Leaflet.draw)
 - [Leaflet.Label](https://github.com/Leaflet/Leaflet.label) *(this dependency requires a version of Leaflet of 0.7 or greater)*
 - [Leaflet.PolylineDecorator](https://github.com/bbecquet/Leaflet.PolylineDecorator)

Usage is extremely simple; take a peek at [the example file](https://github.com/blackchair/day-tripper/example.html) to figure it out.
