Thematic Mapping API Examples

Pie chart map

Using Google Visualization API, Google Spreadsheets (view data), Google Earth API and Google Chart API.

Statistics from UNdata

var data = response.getDataTable();
	
var map = new TME.Map.Kml.GoogleViz();
	
var options = {
    type: 'chart',
    title: 'World Population Distribution',
    chartType: 'pie',
    showBorder: true,
    geometry: worldBorders
};
			
var kml = map.draw(data, options);
					
var kmlObject = earth.parseKml(kml);
earth.getFeatures().appendChild(kmlObject);