Comparing version 0.1.68 to 0.1.69
@@ -1,1 +0,1 @@ | ||
'use strict';const e=require('three');const a=require('bcore/event');const b=require('./../../core/utils');const c=require('./flow_field_buffer');const f=require('../../demo/data/winds.js');const d={};class g extends a{constructor(a){super(),this.options=b.deepMerge(d,a)}addTo(a){if(!a)return console.warn('map is necessary...');this.map=a,this.three3D=a.three3D,this.projection=a.projection}setData(a){if(!a)return;this._data=a}_parsePtString(a){if(typeof a==='string'&&a.indexOf(',')!==-1){a=a.split(',');let b=+a[1]||0;let c=+a[0]||0;return{lat:b,lng:c}}return a}render(){let a=this.ffBuffer=new c({});a.addTo(this.map),console.log(this.three3D)}loop(){window.requestAnimationFrame(this.loop.bind(this))}updateOptions(){}remove(){}}module.exports=g | ||
'use strict';const e=require('three');const a=require('bcore/event');const b=require('./../../core/utils');const c=require('./flow_field_buffer');const d={};class f extends a{constructor(a){super(),this.options=b.deepMerge(d,a)}addTo(a){if(!a)return console.warn('map is necessary...');this.map=a,this.three3D=a.three3D,this.projection=a.projection}setData(a){if(!a)return;this._data=a}_parsePtString(a){if(typeof a==='string'&&a.indexOf(',')!==-1){a=a.split(',');let b=+a[1]||0;let c=+a[0]||0;return{lat:b,lng:c}}return a}render(){let a=this.ffBuffer=new c({});a.addTo(this.map),console.log(this.three3D)}loop(){window.requestAnimationFrame(this.loop.bind(this))}updateOptions(){}remove(){}}module.exports=f |
@@ -5,3 +5,3 @@ { | ||
"description": "3d map visualization lib", | ||
"version": "0.1.68", | ||
"version": "0.1.69", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "test": "mocha -r jscoverage test" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
271750