{% set pendingClass = 'pending' if element.displayAsPending() else '' %} {% set mainIconInMarkerShape = element.markerShape.iconInside|default(true) %} {% set otherIconsToDisplay = element.iconsToDisplay %} {% if mainIconInMarkerShape %} {% set otherIconsToDisplay = otherIconsToDisplay|remove_first %} {% endif %} {% set otherIconsCount = otherIconsToDisplay.length %} {% set showOtherIcons = otherIconsCount > 0 and not element.displayAsPending() %} {% set circle = element.markerShape.circle|default(false) %} {% set iconColorAs = 'gogo-color-as' if circle else 'gogo-bg-color-as' %} {% from "components/map/marker-shape.html.njk" import markerShape, icon %}