Restored previous version

If map legend info for VisualJS.public is computed inside
VisualJS.func.legend() it won't be available when legend: false.