Attempt to fix loading

This commit is contained in:
Pieter Vander Vennet 2022-01-14 03:57:36 +01:00
parent a03313fb3d
commit 555dbf3478

View file

@ -52,7 +52,7 @@ export class Overpass {
}
self._relationTracker.RegisterRelations(json)
const geojson = osmtogeojson(json);
const geojson = osmtogeojson.toGeoJSON(json);
const osmTime = new Date(json.osm3s.timestamp_osm_base);
return [geojson, osmTime];
}