add maximum zoom level parameter
hide empty legend if one of the 2 legends is empty

hides "no legend" text and lets other legend take up whole legend space
to minimize text wrapping
Merge remote-tracking branch 'origin/max-zoom' into mdc-master