Created
November 22, 2013 10:37
-
-
Save tyrasd/7597921 to your computer and use it in GitHub Desktop.
Gist from mistakes.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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