[![Build Status](https://secure.travis-ci.org/code42day/plumper.png)](http://travis-ci.org/code42day/plumper)
[![NPM version](https://badge.fury.io/js/plumper.png)](http://badge.fury.io/js/plumper)

# plumper

Makes your polyline look fat using routeboxer algorithm.
Check out [the live demo](http://code42day.github.io/plumper/).

## API

```javascript
// polyline is a set of points
var polyline = [[0,2], [3,4], [7,8]];
// fat is a factor corresponding to the width of the polyline
var fat = 5;
// polygon is an array of points outlining a polygon that completely encompasses a line
var polygon = plumper(polyline, fat);
```

# License

The MIT License (MIT)

Copyright (c) 2013 [code42day.com](http://code42day.com)

[![Build Status](https://secure.travis-ci.org/code42day/plumper.png)](http://travis-ci.org/code42day/plumper)
[![NPM version](https://badge.fury.io/js/plumper.png)](http://badge.fury.io/js/plumper)

# plumper

Makes your polyline look fat using [routeboxer][1] algorithm.
Check out [the live demo][2].

## API

```javascript
// polyline is a set of points
var polyline = [[0,2], [3,4], [7,8]];
// fat is a factor corresponding to the width of the polyline
var fat = 5;
// polygon is an array of points outlining a polygon that completely encompasses a line
var polygon = plumper(polyline, fat);
```

# License

The MIT License (MIT)

Copyright (c) 2013 [code42day.com](http://code42day.com)

[1]: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/routeboxer/docs/examples.html
[2]: http://code42day.github.io/plumper/
Add link to Google's routeboxer description
Add link to Google's routeboxer description

Same idea, different implementation.
