Keep calling updateLegend until slower layers load
Merge pull request #229 from steventlamb/topic/keep_trying_to_update_legend

Keep calling updateLegend until slower layers load