Toolset Types : Let's say we have a custom post type "geschaeft" that has a custom field "shop-adresse" (address field) with the shop adress. We now want to display all shops (geschaefte) on one map using markers.
[wpv-post-link]<br />
[wpv-conditional if="( $(wpcf-shop-webseite) ne '' )"]<i class="fa fa-globe" aria-hidden="true"></i> [types field='shop-webseite'][/types]<br />[/wpv-conditional]
[wpv-conditional if="( $(wpcf-shop-telefon) ne '' )"]<i class="fa fa-phone" aria-hidden="true"></i> [types field='shop-telefon'][/types]<br />[/wpv-conditional]
[wpv-conditional if="( $(wpcf-shop-adresse) ne '' )"]<i class="fa fa-map-marker" aria-hidden="true"></i> [types field='shop-adresse'][/types]<br />[/wpv-conditional]
[wpv-map-marker map_id="map-2" marker_id="marker-[wpv-post-id]" marker_title='[wpv-post-title output="sanitize"]' address="[types field='shop-adresse'][/types]" marker_icon="[types field='mapmarker' width='25' height='25' url='true' resize='pad' padding_color='transparent']"]
[wpv-post-title]<br />
Telefon: [types field='shop-telefon'][/types]<br/ >
Web: [types field='shop-webseite'][/types]<br/ >
[/wpv-map-marker]
[wpv-layout-start]
[wpv-items-found]
[wpv-map-render map_id='map-2' map_height='450px']
<!-- wpv-loop-start -->
[wpv-pager-nav-links output="bootstrap" first_last_links="true"]
<div class="containers wpv-loop js-wpv-loop">
<wpv-loop wrap="3" pad="true">
[wpv-item index=1]
<div class="row ">
<div class="col-sm-4">[wpv-post-body view_template="Loop item in Geschäfte-Map-Overview"]</div>
[wpv-item index=2]
<div class="col-sm-4">[wpv-post-body view_template="Loop item in Geschäfte-Map-Overview"]</div>
[wpv-item index=3]
<div class="col-sm-4">[wpv-post-body view_template="Loop item in Geschäfte-Map-Overview"]</div>
</div>
[wpv-item index=pad]
<div class="col-sm-4"></div>
[wpv-item index=pad-last]
<div class="col-sm-4"></div>
</div>
</wpv-loop>
</div>
<!-- wpv-loop-end -->
[/wpv-items-found]
[wpv-no-items-found]
<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>
[/wpv-no-items-found]
[wpv-layout-end]