forked from MapComplete/MapComplete
Add mssing assets
This commit is contained in:
parent
c2d477c97a
commit
09897b47e0
11 changed files with 104 additions and 89 deletions
6
State.ts
6
State.ts
|
@ -81,7 +81,7 @@ export default class State {
|
|||
public readonly featureSwitchEnableExport: UIEventSource<boolean>;
|
||||
public readonly featureSwitchFakeUser: UIEventSource<boolean>;
|
||||
public readonly featureSwitchExportAsPdf: UIEventSource<boolean>;
|
||||
public readonly overpassUrl: UIEventSource<string>;
|
||||
public readonly overpassUrl: UIEventSource<string[]>;
|
||||
public readonly overpassTimeout: UIEventSource<number>;
|
||||
|
||||
|
||||
|
@ -321,9 +321,9 @@ export default class State {
|
|||
);
|
||||
|
||||
this.overpassUrl = QueryParameters.GetQueryParameter("overpassUrl",
|
||||
layoutToUse?.overpassUrl,
|
||||
layoutToUse?.overpassUrl.join(","),
|
||||
"Point mapcomplete to a different overpass-instance. Example: https://overpass-api.de/api/interpreter"
|
||||
)
|
||||
).map(param => param.split(","), [], urls => urls.join(","))
|
||||
|
||||
this.overpassTimeout = QueryParameters.GetQueryParameter("overpassTimeout",
|
||||
"" + layoutToUse?.overpassTimeout,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue