forked from MapComplete/MapComplete
Add feature switches to layouts, add option to remove a layout from more-screen
This commit is contained in:
parent
21dd38c3c7
commit
7882747424
7 changed files with 19 additions and 8 deletions
9
index.ts
9
index.ts
|
@ -112,12 +112,11 @@ const lat = QueryParameters.GetQueryParameter("lat", "" + layoutToUse.startLat)
|
|||
const lon = QueryParameters.GetQueryParameter("lon", "" + layoutToUse.startLon)
|
||||
.syncWith(LocalStorageSource.Get("lon"));
|
||||
|
||||
const featureSwitchUserbadge = QueryParameters.GetQueryParameter("fs-userbadge", "true");
|
||||
const featureSwitchSearch = QueryParameters.GetQueryParameter("fs-search", "true");
|
||||
const featureSwitchUserbadge = QueryParameters.GetQueryParameter("fs-userbadge", ""+layoutToUse.enableUserBadge);
|
||||
const featureSwitchSearch = QueryParameters.GetQueryParameter("fs-search", ""+layoutToUse.enableSearch);
|
||||
const featureSwitchWelcomeMessage = QueryParameters.GetQueryParameter("fs-welcome-message", "true");
|
||||
const featureSwitchLayers = QueryParameters.GetQueryParameter("fs-layers", "true");
|
||||
const featureSwitchEmbedded = QueryParameters.GetQueryParameter("fs-embedded", "true");
|
||||
const featureSwitchAddNew = QueryParameters.GetQueryParameter("fs-add-new", "true");
|
||||
const featureSwitchLayers = QueryParameters.GetQueryParameter("fs-layers", ""+layoutToUse.enableLayers);
|
||||
const featureSwitchAddNew = QueryParameters.GetQueryParameter("fs-add-new", ""+layoutToUse.enableAdd);
|
||||
const featureSwitchIframe = QueryParameters.GetQueryParameter("fs-iframe", "false");
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue