FarmMapsLib/projects/common-map/src/fm-map/components/feature-list-feature-cropfield/feature-list-feature-cropfield.component.html
Willem Dantuma 1c70e3495f
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
Fix thumbnail scaling on zoomed browser
2020-02-26 08:44:32 +01:00

11 lines
556 B
HTML

<div *ngIf="feature;let feature" class="row m-0">
<div #container class="col-3 p-1">
<canvas #canvas class="thumbnail"></canvas>
</div>
<div class="col p-2">
<h1 class="card-title" title="{{feature.get('name')}}">{{feature.get('name')}}</h1>
<div class="card-text"><span>{{areaInHa(feature)| number:'1.2-2'}} ha</span>&nbsp;<span>{{feature.get('cropTypeName')}}</span> </div>
<div class="card-text"><span>{{feature.get('datadate')|date}}</span> - <span>{{feature.get('dataenddate')|date}}</span> </div>
</div>
</div>