{namespace neos=Neos\Neos\ViewHelpers}
{namespace poi=Newland\Toubiz\Poi\Neos\ViewHelpers}
{namespace vh=Newland\NeosViewHelpers\ViewHelpers}

<f:if condition="{article.isTour} && {article.flatAttributes.dataSource.0}=='outdooractive'">
    <f:then>
        <vh:render partial="PointOfInterests/Show/Tour/OutdoorActiveMap" arguments="{_all}"/>
    </f:then>
    <f:else if="{article.hasGeocoordinates}">
        <poi:map article="{article}" />
        <f:if condition="{article.flatAttributes.elevationProfile}">
            <div class="tb-tour-elevation-profile">
                <h2 class="mt-0 mb-2 text-xl">
                    {vh:translate(id: 'elevationProfile.title', package: 'Newland.Toubiz.Poi.Neos', source: 'Views/Show')}
                </h2>
                <img
                    data-src="{article.flatAttributes.elevationProfile}"
                    alt="{article.name}"
                    class="tb-tourist-information__image lazyload"
                    itemprop="image url" />
            </div>
        </f:if>
    </f:else>
</f:if>
