Created
December 12, 2014 22:46
-
-
Save dnomadb/9dfde7725486f1f812b1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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)); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment