CDB-1306 Proper infowindow and legends inside named map layers