Skip to content

Commit 0157377

Browse files
committed
flatgeobuf do not export this type
1 parent 829a51c commit 0157377

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/app/map/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IGeoJsonFeature, geojson as flatgeobuf } from "flatgeobuf";
1+
import { geojson as flatgeobuf } from "flatgeobuf";
22

33
export function fbgBbox(map: any) {
44
const { lng, lat } = map.getCenter();
@@ -22,7 +22,7 @@ export async function getFgbData(map: any) {
2222
const iter = flatgeobuf.deserialize(
2323
"https://storage.googleapis.com/osm-tardis/2013-02-03T15%3A00.fgb",
2424
fbgBbox(map),
25-
) as AsyncGenerator<IGeoJsonFeature>;
25+
) as AsyncGenerator<any>;
2626

2727
const timestamps = new Set();
2828

0 commit comments

Comments
 (0)