Skip to content

Commit

Permalink
Merge pull request springmeyer#17 from matiassingers/readme-update
Browse files Browse the repository at this point in the history
Add Install section to README.md
  • Loading branch information
Dane Springmeyer committed May 27, 2014
2 parents 297f77f + 5497a2f commit 5d28f7b
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
# arc.js

Calculate great circles routes as lines in GeoJSON or WKT format.
> Calculate great circles routes as lines in GeoJSON or WKT format.
Algorithms from http://williams.best.vwh.net/avform.htm#Intermediate

Includes basic support for splitting lines that cross the dateline, based on
a partial port of code from OGR.

## Install

# Usage

Require the library in node.js like:
```bash
$ npm install --save arc.js
```

var arc = require('arc');

Use in the browser like:
## Usage

<script src="./arc.js"></script>
Require the library in node.js like:
```js
var arc = require('arc');
```

Use in the browser like:
```html
<script src="./arc.js"></script>
```

# API
## API

**1)** Create start and end coordinates

Expand Down

0 comments on commit 5d28f7b

Please sign in to comment.