diff --git a/app.js b/app.js index e66332c..867b49c 100644 --- a/app.js +++ b/app.js @@ -47,7 +47,8 @@ function hide_start_screen(){ //TODO given parameters on URL do this automatically function setup_schnitzeljagd(json){ hide_start_screen(); - map.setView(data.position, 15) + map.setView(data.position, 15); + map.invalidateSize(); } function pfalz(){ @@ -197,4 +198,4 @@ async function encrypt(secret, password) { // Display the Base64-encoded encrypted secret return base64Encoded -} \ No newline at end of file +}