Fix: decent PDF-export

This commit is contained in:
Pieter Vander Vennet 2023-06-04 22:52:13 +02:00
parent 905f796baa
commit de20b00b8f
15 changed files with 619 additions and 1396 deletions

View file

@ -65,14 +65,14 @@ export default class GeoJsonSource implements FeatureSource {
return
}
this.LoadJSONFrom(url, eventsource, layer)
.then((fs) => console.log("Loaded",fs.length, "features from", url))
.catch((err) => console.error("Could not load ", url, "due to", err))
.then((fs) => console.debug("Loaded",fs.length, "features from", url))
.catch((err) => console.warn("Could not load ", url, "due to", err))
return true // data is loaded, we can safely unregister
})
} else {
this.LoadJSONFrom(url, eventsource, layer)
.then((fs) => console.log("Loaded",fs.length, "features from", url))
.catch((err) => console.error("Could not load ", url, "due to", err))
.then((fs) => console.debug("Loaded",fs.length, "features from", url))
.catch((err) => console.warn("Could not load ", url, "due to", err))
}
this.features = eventsource
}