Changeset 5246 in ntrip for trunk/BNC/src/map/bncmapwin.cpp


Ignore:
Timestamp:
Jun 17, 2013, 10:29:51 AM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/map/bncmapwin.cpp

    r5234 r5246  
    115115    return;
    116116  }
    117   QString location = QString("%1, %2").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8);
     117  bncSettings settings;
     118  int useTrace = (Qt::CheckState(settings.value("mapWinTrace").toInt()) == Qt::Checked) ? 1 : 0;
     119  QString location = QString("%1, %2, %3").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(useTrace);
    118120  _webView->page()->mainFrame()->evaluateJavaScript(QString("initialize( %1 )").arg(location));
    119121}
Note: See TracChangeset for help on using the changeset viewer.