Commit e08c0744 authored by Stefan Funk's avatar Stefan Funk 🐧
Browse files

Merge branch 'hide-geolocation-on-start' into 'develop'

Hides geocompletion tools on start

See merge request !8
parents c1b2aad2 b00f1374
......@@ -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 &nbsp; <img id="spinningGeolocationCompletionFlower" class="hide" src="https://res.de.dariah.eu/dhrep/img/spinning-flower_slow.gif" alt="Geolocation completion running" width="22" /></h3>
......
......@@ -17,6 +17,10 @@ function initMap() {
});
}
function resizeMap(){
map.updateSize();
}
function startGeocoding() {
$('#tgnArea').show();
......
......@@ -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();
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment