{% from "components/map/marker-shape.html.njk" import markerShape, icon %} {% macro renderCategoryValue(categoryValue) %} {% set activeChildrenCount = 0 %} {% for optionValue in categoryValue.children %} {% if optionValue.option.displayInInfoBar %} {% set activeChildrenCount = activeChildrenCount + 1 %} {% endif %} {% endfor %} {% set wrapOptionsIntoCategoryContainer = activeChildrenCount > 0 %} {% if wrapOptionsIntoCategoryContainer %}