forked from MapComplete/MapComplete
Refactor OsmFeatureSource to increas testability
This commit is contained in:
parent
9ebdb81531
commit
06bc136b85
2 changed files with 55 additions and 46 deletions
|
@ -143,6 +143,10 @@ export class OsmConnection {
|
|||
console.log("Logged out")
|
||||
this.loadingStatus.setData("not-attempted")
|
||||
}
|
||||
|
||||
public Backend(): string {
|
||||
return this._oauth_config.url;
|
||||
}
|
||||
|
||||
public AttemptLogin() {
|
||||
this.loadingStatus.setData("loading")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue