{#if $item} {#if $item.item instanceof Waypoint} {:else if $item.item instanceof TrackPoint} {:else} {/if} {/if}