extensions.push('themacfg');



function themacfgBegin() {
	
	var allThemas=new Array();

	var thema=new ValuesThema('thema');
	thema.addValue('A','#FF0000');
	thema.addValue('B','#0000FF');
	thema.addValue('C','#FFFF00');
	thema.addValue('D','#00FFFF');
	thema.addValue('E','#FF00FF');
	thema.addValue('F','#AAAAAA');
	thema.addValue('L','#808080');
	thema.addValue('V','#00FF00');

	var themapattern=new ValuesThema('thema');
	themapattern.addValue('A','oblique');
	themapattern.addValue('B','oblique');
	themapattern.addValue('C','oblique');
	themapattern.addValue('D','oblique');
	themapattern.addValue('E','vertical');
	themapattern.addValue('F','vertical');
	themapattern.addValue('L','vertical');
	themapattern.addValue('V','vertical');

	var thematism=new Thematism();
	thematism.addThema('color',thema);
	thematism.addThema('fill',thema);
	thematism.addThema('fillpattern',themapattern);
	
	thematism.addDescription('A','Zone A');
	thematism.addDescription('B','Zone B');
	thematism.addDescription('C','Zone C');
	thematism.addDescription('D','Zone D');
	thematism.addDescription('E','Zone E');
	thematism.addDescription('F','Zone F');
	thematism.addDescription('L','Zone L');
	thematism.addDescription('V','Zone V');

	allThemas['PRGZZonizzazioni']=thematism;
	mapInfo.setProperty('mapthematisms',allThemas);
}
