Thematic Mapping API Examples

Choropleth 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: 'choropleth',
    title: 'Infant Mortality Rate',
    classification: 'equal',
    geometry: worldBorders
};
			
var kml = map.draw(data, options);
					
var kmlObject = earth.parseKml(kml);
earth.getFeatures().appendChild(kmlObject);