Icon and legend shouls also be available on WMTS layers.

Fix #358.