alert for fusion tables

18 views
Skip to first unread message

sk

unread,
May 31, 2012, 4:41:05 PM5/31/12
to google-visua...@googlegroups.com
hi i want to display the alert message when i select the particular state
in the map.i draw a map using fusion tables...kindly help me

asgallant

unread,
May 31, 2012, 4:49:05 PM5/31/12
to google-visua...@googlegroups.com
You need to set up a 'select' event handler to do this:

google.visualization.events.addListener(chart'select'function ({
    var row chart.getSelection()[0].row;
    alert('someone selected ' data.getValue(row0));
}); 
Reply all
Reply to author
Forward
0 new messages