Open nrjgit opened 9 years ago
This is My Geo-Chart for the Country 'Haiti' .Which is working Fine
http://jsfiddle.net/p9VRF/light/
But I cannot set it for District View ,and Commune View like this
google.load('visualization', '1', { 'packages': ['geochart'] }); google.setOnLoadCallback(drawMap);
function drawMap() {
//Not working for commune var data = google.visualization.arrayToDataTable([ ['Commune', ''], ['Borgne', 2] ])
var options = { width: 556, height: 347, displayMode: 'regions', resolution: 'provinces', colorAxis: { colors: ['red'], minValue: 0, maxValue: 2 }, region: 'HT', legend: 'none' }; var container = document.getElementById('map_canvas'); var geochart = new google.visualization.GeoChart(container); geochart.draw(data, options); };
I am not getting Any Idea , same wthing work for nation view , Department View
What is missing ??
Check Iso Marker https://developers.google.com/chart/interactive/docs/gallery/geochart
This is My Geo-Chart for the Country 'Haiti' .Which is working Fine
http://jsfiddle.net/p9VRF/light/
But I cannot set it for District View ,and Commune View like this
google.load('visualization', '1', { 'packages': ['geochart'] }); google.setOnLoadCallback(drawMap);
//Not working for commune var data = google.visualization.arrayToDataTable([ ['Commune', ''], ['Borgne', 2] ])
I am not getting Any Idea , same wthing work for nation view , Department View
What is missing ??