Display only relevant (visible) legend items
When updating the legend in the bigx main class, we should check for each item that there are actually visible items of that type on the map.
When updating the legend in the bigx main class, we should check for each item that there are actually visible items of that type on the map.