Implemented legend image support to WmsLayer