Heatmap: migrate old zero gap to one (#51467)

This commit is contained in:
Ryan McKinley
2022-06-27 16:13:09 -07:00
committed by GitHub
parent cd0fefec5b
commit cfbfacb152
4 changed files with 50 additions and 15 deletions

View File

@@ -43,6 +43,7 @@ export class FrameVectorSource<T extends Geometry = Geometry> extends VectorSour
return;
}
//eslint-disable-next-line
const field = info.field as Field<Point>;
const geometry = new LineString(field.values.toArray().map((p) => p.getCoordinates())) as Geometry;
this.addFeatureInternal(