The overpassfeaturesource now only fetches layers that must be updated, fix #599

This commit is contained in:
Pieter Vander Vennet 2022-01-15 02:44:11 +01:00
parent 9b88478804
commit 00e5ce0b02
7 changed files with 56 additions and 10 deletions

View file

@ -52,7 +52,6 @@ export class Overpass {
}
self._relationTracker.RegisterRelations(json)
console.warn("OSMTOGEOJSON:", osmtogeojson)
const geojson = osmtogeojson.default(json);
const osmTime = new Date(json.osm3s.timestamp_osm_base);
return [geojson, osmTime];