POI / Attractions / Point of interest

Module name: poi

Map utilities

.latitude

.longitude

.category.pin

URL

URL of the image with the pin linked to the category of this POI

.category.has_marker

0/1

If the category linked to the POI has a marker

#$loop|{poi}|{a}| $#
    {if=" '{a.longitude}' && '{a.latitude}' "}
        <div 
        data-lat="{a.latitude}"
        data-lgn="{a.longitude}"
        data-category="category-{p.category.id}"
        data-pin="{if="'{a.category.has_marker}' == '1'"}{a.category.pin}{else}#$$#/images/svgs/pin-default.svg{/if}">
        </div>
    {/if}
#$/loop|{poi}|{a}| $#

Last updated