Add rotation parameter for PDF in landscape mode.
Add warning message if no WMS layer found for generating thumbnail.