Places

var ivalue_1 = new Array();google.load(‘visualization’, ‘1’, {packages: [‘geochart’]});function drawVisualization() {var data = new google.visualization.DataTable();data.addColumn(‘string’, ‘Country’); // Implicit domain label col.data.addColumn(‘number’, ‘Value’); // Implicit series 1 data col.data.addColumn({type:’string’, role:’tooltip’}); data.addRows([[{v:”South Africa”,f:”South Africa”},1,”Click to see posts”]]);ivalue_1[‘South Africa’] = ‘https://thetraveluster.com/category/africa/south-africa/’;data.addRows([[{v:”Argentina”,f:”Argentina”},2,”Click to see posts”]]);ivalue_1[‘Argentina’] = ‘https://thetraveluster.com/category/south-america/argentina/’;data.addRows([[{v:”Botswana”,f:”Botswana”},3,”Click to see posts”]]);ivalue_1[‘Botswana’] = ‘https://thetraveluster.com/category/africa/botswana/’;data.addRows([[{v:”Cambodia”,f:”Cambodia”},4,”Click to see posts”]]);ivalue_1[‘Cambodia’] = ‘https://thetraveluster.com/category/asia-pacific/cambodia/’;data.addRows([[{v:”Canada”,f:”Canada”},5,”Click to see posts”]]);ivalue_1[‘Canada’] = ‘https://thetraveluster.com/category/americas/canada/’;data.addRows([[{v:”gb”,f:”Great Britain”},6,”Click to see posts”]]);ivalue_1[‘gb’] = ‘https://thetraveluster.com/category/europe/england/’;data.addRows([[{v:”French Polynesia”,f:”French Polynesia”},7,”Click to see posts”]]);ivalue_1[‘French Polynesia’] = ‘https://thetraveluster.com/category/asia-pacific/french-polynesia/’;data.addRows([[{v:”Indonesia”,f:”Indonesia”},8,”Click to see posts”]]);ivalue_1[‘Indonesia’] = ‘https://thetraveluster.com/category/asia-pacific/indonesia/’;data.addRows([[{v:”Japan”,f:”Japan”},9,”Click to see posts”]]);ivalue_1[‘Japan’] = ‘https://thetraveluster.com/category/asia-pacific/japan/’;data.addRows([[{v:”Laos”,f:”Laos”},10,”Click to see posts”]]);ivalue_1[‘Laos’] = ‘https://thetraveluster.com/category/asia-pacific/laos/’;data.addRows([[{v:”Namibia”,f:”Namibia”},11,”Click to see posts”]]);ivalue_1[‘Namibia’] = ‘https://thetraveluster.com/category/africa/namibia/’;data.addRows([[{v:”New Zealand”,f:”New Zealand”},12,”Click to see posts”]]);ivalue_1[‘New Zealand’] = ‘https://thetraveluster.com/category/asia-pacific/new-zealand/’;data.addRows([[{v:”Singapore”,f:”Singapore”},13,”Click to see posts”]]);ivalue_1[‘Singapore’] = ‘https://thetraveluster.com/category/asia-pacific/singapore/’;data.addRows([[{v:”Thailand”,f:”Thailand”},14,”Click to see posts”]]);ivalue_1[‘Thailand’] = ‘https://thetraveluster.com/category/asia-pacific/thailand/’;data.addRows([[{v:”United States”,f:”United States”},15,”Click to see posts”]]);ivalue_1[‘United States’] = ‘https://thetraveluster.com/category/americas/u-s-a/’;data.addRows([[{v:”Zambia”,f:”Zambia”},16,”Click to see posts”]]);ivalue_1[‘Zambia’] = ‘https://thetraveluster.com/category/africa/zambia/’;data.addRows([[{v:”Zimbabwe”,f:”Zimbabwe”},17,”Click to see posts”]]);ivalue_1[‘Zimbabwe’] = ‘https://thetraveluster.com/category/africa/zimbabwe/’;data.addRows([[{v:”Puerto Rico”,f:”Puerto Rico”},18,”Click to see posts”]]);ivalue_1[‘Puerto Rico’] = ‘https://thetraveluster.com/category/caribbean/puerto-rico/’;data.addRows([[{v:”Uruguay”,f:”Uruguay”},19,”Click to see posts”]]);ivalue_1[‘Uruguay’] = ‘https://thetraveluster.com/category/southamerica/uruguay’;var options = { colorAxis: {minValue: 1, maxValue:19, colors: [‘#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094′,’#438094’]},legend: ‘none’,backgroundColor: {fill:’#FFFFFF’,stroke:’#CCCCCC’ ,strokeWidth:0 },datalessRegionColor: ‘#F5F5F5’,displayMode: ‘regions’, sizeAxis: {minValue: 1, maxValue:19,minSize:10, maxSize: 10},enableRegionInteractivity: ‘true’,resolution: ‘countries’,region:’world’,width:”,height:”,tooltip: {textStyle: {color: ‘#555555′}, trigger:’focus’} };var geochart = new google.visualization.GeoChart( document.getElementById(‘map_canvas_1’));google.visualization.events.addListener(geochart, ‘select’, function() {var selection = geochart.getSelection(); if (selection.length == 1) {var selectedRow = selection[0].row; var selectedRegion = data.getValue(selectedRow, 0);if(ivalue_1[selectedRegion].length >= 1) { document.location = ivalue_1[selectedRegion]; } } }); geochart.draw(data, options); } google.setOnLoadCallback(drawVisualization);

 

ABOUT ME

LindsayHey there. I’m Lindsay. Welcome to The Traveluster, a culture-focused travel site. I’m an anthropologist, geographer and international conflict resolution scholar. I hope you’ll enjoy my unique travel perspective! Read more about me ->

Travel Blog Success