forked from MapComplete/MapComplete
Merge latest master
This commit is contained in:
commit
c693faea95
249 changed files with 8610 additions and 2657 deletions
|
@ -85,11 +85,6 @@ export class InitUiElements {
|
|||
throw "Incorrect layout"
|
||||
}
|
||||
|
||||
const hashContent = QueryParameters.GetQueryParameter("hash_content", "", "A workaround for the share-api which doesn't share the hash...");
|
||||
if((hashContent.data ?? "") !== ""){
|
||||
window.location.hash = hashContent.data;
|
||||
}
|
||||
|
||||
console.log("Using layout: ", layoutToUse.id, "LayoutFromBase64 is ", layoutFromBase64);
|
||||
State.state = new State(layoutToUse);
|
||||
|
||||
|
@ -186,7 +181,7 @@ export class InitUiElements {
|
|||
|
||||
// This layer is the layer that gives the questions
|
||||
const featureBox = new FeatureInfoBox(
|
||||
State.state.allElements.getElement(data.id),
|
||||
State.state.allElements.getEventSourceById(data.id),
|
||||
layer
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue