Skip to content

Instantly share code, notes, and snippets.

initialize: function(options) {
this.version = '0.1.0';
this._R2D = 180 / Math.PI;
this._D2R = Math.PI / 180;
var latLng = this._compute(this.options.time || null);
gJSON.features[0].geometry.coordinates = [];
gJSON.features[0].geometry.coordinates[0] = latLng;
console.log(JSON.stringify(gJSON))
// fs.writeFileSync('test.geojson', JSON.stringify(gJSON));
},
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@dnomadb
dnomadb / a.rb
Created December 12, 2014 19:59
@class1: #3B582C;
@class2: #385A30;
@class3: #355C34;
@class4: #335F39;
@class5: #30613D;
@class6: #2D6342;
@class7: #2A6547;
@class8: #27674C;
@class9: #246951;
@class10: #216B57;
@dnomadb
dnomadb / a.rb
Created December 12, 2014 19:58
@class1: #33141F;
@class2: #361722;
@class3: #3A1926;
@class4: #3D1B2A;
@class5: #411E2E;
@class6: #442132;
@class7: #482336;
@class8: #4B263A;
@class9: #4E293E;
@class10: #512C42;
setup:42: no such file or directory:
setup:43: no such file or directory:
setup:44: no such file or directory:
setup:45: no such file or directory:
setup:46: no such file or directory:
setup:47: no such file or directory:
chmod: fts_open: No such file or directory
setup:51: no such file or directory:
setup:52: no such file or directory:
setup:53: no such file or directory:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.