hi, I am trying to draw a geo chart with four columns: Latitude
(number), Longitude (number), Value (number),  and Description
(string).

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to