aimsLegend.js 中的addLegendToMap函数中加一个layerfontsize节点,如
var legString = '<LEGEND title="' + legTitle + '" layerfontsize="20" font="' + legFont + '" width="' + legWidth + '" height="' + legHeight + '" ';
var legString = '<LEGEND title="' + legTitle + '" layerfontsize="20" font="' + legFont + '" width="' + legWidth + '" height="' + legHeight + '" ';