Map of europe. Custom colors, manage tooltips

$('#europe').vectorMap({
	map: 'europe_en',
	backgroundColor: '#FFF2B7',
	color: '#993725',
	onLabelShow: function(event, label, code){
		if (code == 'de') {
			event.preventDefault(); // for Germany remove label   
		} else if (code == 'ru') {
			// for Russia show redeclarated values
			label.text('Bears, matreshka, balalayka'); 
		}
	}
}); 




Back to description