Hi guys, I'm using Geochart and I want to show up an image of the country 
when user click on the country in the map.
However, this code doesn't work. Do you guys know how to fix this? 
Thanks!!!!!!

      google.charts.load('upcoming', {'packages':['geochart']});
      google.charts.setOnLoadCallback(drawRegionsMap);

      function drawRegionsMap() {

        var data = google.visualization.arrayToDataTable([
          ['Country', 'Images'],
          ['Germany', '<img 
src="http://cdn1.matadornetwork.com/blogs/1/2011/05/Germany-600x375.jpg"; 
/>'],
        ]);

        var options = {allowHtml: true, showRowNumber: true, width: '42%', 
height: '42%'};

        var chart = new 
google.visualization.GeoChart(document.getElementById('regions_div'));

        chart.draw(data, options);

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/798f9ec1-2042-4c4a-bed6-6f7682d917c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to