Fix build
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good

This commit is contained in:
Willem Dantuma 2022-01-19 13:47:13 +01:00
parent 48574dc0b0
commit c22cede59b

View File

@ -59,7 +59,7 @@ export class GeometryThumbnailComponent implements AfterViewInit {
if(canvas && canvas.nativeElement && geometry && style) {
let renderContext = render.toContext(canvas.nativeElement.getContext( '2d'),{ size: [width, height] });
let geom = geometry.clone(),
let geom = geometry.clone() as Polygon,
line = geom.getCoordinates()[0],
e = extent.boundingExtent( line );