Update mapsettings.service.ts

This commit is contained in:
piotrpekala7 2021-04-30 01:08:48 +02:00
parent e863c1f6e7
commit 4a8be81534

View File

@ -14,7 +14,7 @@ export class MapSettingsService {
public isLayerNumberVisible: boolean = false;
public logConsoleSubject = new Subject<boolean>();
public mapRenderedEmitter = new EventEmitter<boolean>();
public openReadme: boolean = true;
public openReadme: boolean;
public showInterfaceLabels: boolean = true;
public integrateLinkLabelsToLinks: boolean = true;
@ -29,6 +29,12 @@ export class MapSettingsService {
} else {
localStorage.setItem('symbolScaling', 'true');
}
if (localStorage.getItem('openReadme')) {
this.openReadme = localStorage.getItem('openReadme') === 'true' ? true : false;
} else {
localStorage.setItem('openReadme', 'false');
}
}
public getSymbolScaling(): boolean {