开发者

How to load geodata from google sheet (columns) instead

开发者 https://www.devze.com 2023-01-25 21:57 出处:网络
My current data is hardcoded: var geoData = new google.visualization.DataTable(); geoData.addColumn(\'string\', \'City\');

My current data is hardcoded:

   var geoData = new google.visualization.DataTable();
        geoData.addColumn('string', 'City');
        geoData.addColumn('string', 'Name');
        geoData.addColumn('boolean', 'Yes/no');
开发者_如何学编程
var geoView = new google.visualization.DataView(geoData);
        geoView.setColumns([0, 1]);


var query = new google.visualization.Query('http://spreadsheets.google.com/...')

0

精彩评论

暂无评论...
验证码 换一张
取 消