Skip to content

Instantly share code, notes, and snippets.

@tyrasd
Created November 22, 2013 10:37
Show Gist options
  • Save tyrasd/7597921 to your computer and use it in GitHub Desktop.
Save tyrasd/7597921 to your computer and use it in GitHub Desktop.
Gist from mistakes.io
// You can include libraries in mistakes
// with a magic function called require(),
// which simply loads javascript in a script tag.
require('https://raw.github.com/lodash/lodash/2.3.0/dist/lodash.js');
require('https://raw.github.com/tyrasd/osmtogeojson/gh-pages/osmtogeojson.js');
osmtogeojson(
{elements:[{type:"node",id:"-1",lat:1.23,lon:3.21}]},
{flatProperties:true}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment