dropbox - import changes from alpha

This commit is contained in:
Azgaar 2021-09-01 21:33:49 +03:00 committed by Peter
parent eecdff1968
commit 68fade20c3
7 changed files with 4547 additions and 0 deletions

10
main.js
View file

@ -300,6 +300,7 @@ async function checkLoadParameters() {
});
});
<<<<<<< HEAD
if (onloadMap.value === "saved") {
try {
await loadLastMap();
@ -317,6 +318,15 @@ async function checkLoadParameters() {
async function generateMapOnLoad() {
await applyStyleOnLoad(); // apply previously selected default or custom style
await generate(); // generate map
=======
WARN && console.warn('Generate random map');
generateMapOnLoad();
})();
function generateMapOnLoad() {
applyStyleOnLoad(); // apply default of previously selected style
generate(); // generate map
>>>>>>> f557701e (dropbox - import changes from alpha)
focusOn(); // based on searchParams focus on point, cell or burg from MFCG
applyPreset(); // apply saved layers preset
}