added getLayerLegend in case we need it