forked from MapComplete/MapComplete
Porting cyclofix-shops to a .json definition, removing now unneeded classes
This commit is contained in:
parent
bb209ee731
commit
02c2e48293
23 changed files with 428 additions and 590 deletions
4
State.ts
4
State.ts
|
@ -33,8 +33,6 @@ export class State {
|
|||
tagsVisibleAndWikiLinked: 150,
|
||||
themeGeneratorReadOnlyUnlock: 200,
|
||||
themeGeneratorFullUnlock: 500,
|
||||
|
||||
|
||||
};
|
||||
|
||||
public static runningFromConsole: boolean = false;
|
||||
|
@ -118,7 +116,7 @@ export class State {
|
|||
str => isNaN(Number(str)) ? 0 : Number(str),[],n => ""+n
|
||||
);
|
||||
|
||||
constructor(layoutToUse: Layout, useDevServer = false) {
|
||||
constructor(layoutToUse: Layout) {
|
||||
const self = this;
|
||||
this.layoutToUse.setData(layoutToUse)
|
||||
this.locationControl = new UIEventSource<{ lat: number, lon: number, zoom: number }>({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue