forked from MapComplete/MapComplete
Fix: decent PDF-export
This commit is contained in:
parent
905f796baa
commit
de20b00b8f
15 changed files with 619 additions and 1396 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue