use GetLegendGraphic when legend url is empty