如何从谷歌表(列)加载地理数据

时间:2010-11-16 14:20:32

标签: google-maps google-geocoder

我当前的数据是硬编码的:

   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]);

1 个答案:

答案 0 :(得分:0)

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