Thematic Mapping API Examples

Prism map

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

Statistics from UNdata

var data = response.getDataTable();
	
var map = new TME.Map.Kml.GoogleViz();
	
var options = {
    type: 'prism',
    title: 'Infant Mortality Rate',
    maxHeight: 2000000,
    colorType: 'scale',
    classification: 'equal',
    geometry: worldBorders
};
			
var kml = map.draw(data, options);
					
var kmlObject = earth.parseKml(kml);
earth.getFeatures().appendChild(kmlObject);