a2g_maps/Resources/Private/Templates/Map/Map.html

32 lines
1.6 KiB
HTML
Raw Normal View History

2023-12-04 16:36:56 +01:00
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:bk2k="http://typo3.org/ns/BK2K/BootstrapPackage/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
<f:section name="content">
<bk2k:data.imageVariants as="variants" variants="{variants}" multiplier="{columnConfig.multiplier}" gutters="{columnConfig.gutters}" corrections="{columnConfig.corrections}" />
<div id="a2g-costum-icons" data-content='{mapIcons}'></div>
<div class="a2g-map-wrap">
<div class="ol-popup a2g-map-popup d-none" >
<a href="#" class="ol-popup-closer a2g-map-popup-closer"></a>
<div class="a2g-map-popup-content"></div>
</div>
<f:if condition="{settings.controllsPositions} == '1' || {settings.controllsPositions} == '3'">
<f:then>
<f:render partial="Map/Controll" arguments="{_all}"></f:render>
</f:then>
</f:if>
<div id="{mapId}" class="a2g-map"
data-map-config='{mapConfig}'
></div>
<f:if condition="{settings.controllsPositions} == '2' || {settings.controllsPositions} == '3'">
<f:render partial="Map/Controll" arguments="{_all}"></f:render>
</f:if>
</div>
<f:if condition="{settings.showMarkerList} == '1'">
<f:then>
<div class="a2g-map-list mt-3">
<f:render partial="Map/List" arguments="{_all}"></f:render>
</div>
</f:then>
</f:if>
</f:section>
</html>