Fix build
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
48574dc0b0
commit
c22cede59b
@ -59,7 +59,7 @@ export class GeometryThumbnailComponent implements AfterViewInit {
|
|||||||
if(canvas && canvas.nativeElement && geometry && style) {
|
if(canvas && canvas.nativeElement && geometry && style) {
|
||||||
let renderContext = render.toContext(canvas.nativeElement.getContext( '2d'),{ size: [width, height] });
|
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],
|
line = geom.getCoordinates()[0],
|
||||||
e = extent.boundingExtent( line );
|
e = extent.boundingExtent( line );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user