{#if waypoint.item.link && waypoint.item.link.attributes && waypoint.item.link.attributes.href} {waypoint.item.name ?? waypoint.item.link.attributes.href} {:else} {waypoint.item.name ?? $_('gpx.waypoint')} {/if}
{#if symbolKey} {#if symbols[symbolKey].icon} {:else} {/if} {$_(`gpx.symbol.${symbolKey}`)} {/if} {waypoint.item.getLatitude().toFixed(6)}° {waypoint.item .getLongitude() .toFixed(6)}° {#if waypoint.item.ele !== undefined} {/if}
{#if waypoint.item.desc} {@html sanitize(waypoint.item.desc)} {/if} {#if waypoint.item.cmt && waypoint.item.cmt !== waypoint.item.desc} {@html sanitize(waypoint.item.cmt)} {/if}
{#if $currentTool === Tool.WAYPOINT} {/if}