File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ export async function getFgbData(map: any) {
19
19
let i = 0 ;
20
20
const geojson = { type : "FeatureCollection" , features : [ ] } ;
21
21
22
- let iter = flatgeobuf . deserialize (
22
+ const iter = flatgeobuf . deserialize (
23
23
"https://storage.googleapis.com/osm-tardis/2013-02-03T15%3A00.fgb" ,
24
- fbgBbox ( map )
24
+ fbgBbox ( map ) ,
25
25
) ;
26
26
27
- let timestamps = new Set ( ) ;
27
+ const timestamps = new Set ( ) ;
28
28
29
- for await ( let feature of iter ) {
29
+ for await ( const feature of iter ) {
30
30
if (
31
31
feature . properties . type !== "relation" &&
32
32
( feature . properties . changeType === "added" ||
@@ -60,7 +60,7 @@ export function calculateStats(geojson: any) {
60
60
users : { } ,
61
61
} ;
62
62
63
- for ( let feature of geojson . features ) {
63
+ for ( const feature of geojson . features ) {
64
64
const changeType = feature . properties . changeType ;
65
65
if (
66
66
changeType === "added" ||
You can’t perform that action at this time.
0 commit comments