Open orwant opened 9 years ago
use following way to link your country name :-
var geochart = new google.visualization.GeoChart(document.getElementById('visualization'));
google.visualization.events.addListener(geochart, 'select', function() {
var selectionIdx = geochart.getSelection()[0].row;
var countryName = data.getValue(selectionIdx, 0);
location.replace('http://localhost/geocharting/state.php?country='+countryName);
});
Original issue reported on code.google.com by rajeev.syscraftonline
on 2013-01-05 06:58:39
Thank you, Rajeev!
I'll be using this code in the future.
Original issue reported on code.google.com by santunezp
on 2013-01-06 23:13:49
Original issue reported on code.google.com by
santunezp
on 2012-07-11 15:26:36