{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.mainAddress.hasGeocoordinates}">
        <poi:staticMap
            latitude="{article.mainAddress.latitude}"
            longitude="{article.mainAddress.longitude}"
            geometry="{article.flatAttributes.geometry.0}"
        />
    </f:else>
</f:if>
