Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created July 17, 2014 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/860b5486e19704bcfbff to your computer and use it in GitHub Desktop.
Save tmcw/860b5486e19704bcfbff to your computer and use it in GitHub Desktop.
Gist from mistakes.io
require('https://rawgit.com/springmeyer/arc.js/gh-pages/arc.js');
var start = { x: -122, y: 48 };
var end = { x: -77, y: 39 };
generator = new arc.GreatCircle(start, end, {'name': 'Seattle to DC'});
line = generator.Arc(100,{offset:10});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment