load sld when layer is loaded