We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 829a51c commit 0157377Copy full SHA for 0157377
web/src/app/map/utils.ts
@@ -1,4 +1,4 @@
1
-import { IGeoJsonFeature, geojson as flatgeobuf } from "flatgeobuf";
+import { geojson as flatgeobuf } from "flatgeobuf";
2
3
export function fbgBbox(map: any) {
4
const { lng, lat } = map.getCenter();
@@ -22,7 +22,7 @@ export async function getFgbData(map: any) {
22
const iter = flatgeobuf.deserialize(
23
"https://storage.googleapis.com/osm-tardis/2013-02-03T15%3A00.fgb",
24
fbgBbox(map),
25
- ) as AsyncGenerator<IGeoJsonFeature>;
+ ) as AsyncGenerator<any>;
26
27
const timestamps = new Set();
28
0 commit comments