Merge pull request #56 from NightHawk32/gps

GPS map now only shows when a 3D fix is established
10.3.x-maintenance
Albert Kravcov 2015-12-02 22:26:31 +01:00
commit 377340818c
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ TABS.gps.initialize = function (callback) {
if (navigator.onLine) {
$('#connect').hide();
if(lat != 0 && lon != 0){
if(GPS_DATA.fix){
frame.contentWindow.postMessage(message, '*');
$('#loadmap').show();
$('#waiting').hide();