But, there is an error:
"Incompatible data table: Error: Table contains more columns than
expected (Expecting 3 columns)"
this is my code:
---
function drawMarkersMap() {
var data = new google.visualization.DataTable();
data.addColumn('number', 'LATITUDE', 'Latitude');
data.addColumn('number', 'LONGITUDE', 'Longitude');
data.addColumn('number', 'VALUE','Value');
data.addColumn('string', 'DESCRIPTION','Description');
data.addRows([
[38.14660,127.31322, 10, 'hello'],
[37.88131,127.72997, 100, 'world']
]);
var options = {
region: 'KR',
height: '694',
width: '1112',
resolution: 'provinces',
displayMode: 'markers',
};
var chart = new
google.visualization.GeoChart(document.getElementById('chart_div'));
chart.draw(data, options);
};
---
and thanks for great API.
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.