diff --git a/edit/index.html b/edit/index.html index 524a1747b14bab2b0aa1eae81204d791bda7524f..7525202ce9e31d969b88237ccdc750edb7f540a9 100644 --- a/edit/index.html +++ b/edit/index.html @@ -139,7 +139,7 @@ </div> </div> </div> - <div class="row-fluid"> + <div id = "geolocationArea" class="row-fluid"> <div id="content" class="primary-area"> <div id="tgnArea" class="well span6"> <h3>Place selection <img id="spinningGeolocationCompletionFlower" class="hide" src="https://res.de.dariah.eu/dhrep/img/spinning-flower_slow.gif" alt="Geolocation completion running" width="22" /></h3> diff --git a/edit/js/dariah.workflow.geo.js b/edit/js/dariah.workflow.geo.js index 9a1126c85c49e7df8406e2b350d3260c0fa43b5f..28db8665155c1769733dba8b28b600924163869f 100644 --- a/edit/js/dariah.workflow.geo.js +++ b/edit/js/dariah.workflow.geo.js @@ -17,6 +17,10 @@ function initMap() { }); } +function resizeMap(){ + map.updateSize(); +} + function startGeocoding() { $('#tgnArea').show(); diff --git a/edit/js/dariah.workflow.js b/edit/js/dariah.workflow.js index 815bc7064d4f470a33de6970d8415b35f0fb6632..c3b6816433e5a1e91bde6959f90223db37a79f8c 100644 --- a/edit/js/dariah.workflow.js +++ b/edit/js/dariah.workflow.js @@ -419,25 +419,28 @@ function download() { } /** - * + * Display welcome screen. */ function showFirstStartWizard() { -// $('#firstStartWizard').show(); + $('#sheetArea').hide(); setPermanentConsoleMessage(''); showMessage('idMessage', ''); showMessage('sharedStatus', ''); // Empty tgn list. $('#tgnList').empty(); - // TODO: Empty map data, too? + $('#geolocationArea').hide(); + } /** - * + * Display table and geolocation tools. */ function hideFirstStartWizard() { -// $('#firstStartWizard').hide(); + $('#sheetArea').show(); + $('#geolocationArea').show(); + resizeMap(); } /**