Y-SLD/assets/plugins/leaflet/leaflet-measure/src/leaflet-measure-template-re...

15 lines
655 B
HTML

<div class="group">
<p class="lastpoint heading"><%= i18n.__('lastPoint') %></p>
<p><%= model.lastCoord.dms.y %> <span class="coorddivider">/</span> <%= model.lastCoord.dms.x %></p>
<p><%= humanize.numberFormat(model.lastCoord.dd.y, 6) %> <span class="coorddivider">/</span> <%= humanize.numberFormat(model.lastCoord.dd.x, 6) %></p>
</div>
<% if (model.pointCount > 1) { %>
<div class="group">
<p><span class="heading"><%= i18n.__('pathDistance') %></span> <%= model.lengthDisplay %></p>
</div>
<% } %>
<% if (model.pointCount > 2) { %>
<div class="group">
<p><span class="heading"><%= i18n.__('area') %></span> <%= model.areaDisplay %></p>
</div>
<% } %>