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


Ignore:
Timestamp:
Jun 28, 2013, 2:34:20 PM (9 years ago)
Author:
weber
Message:

Trace map function modified

File:
1 edited

Legend:

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

    r5269 r5296  
    126126  }
    127127  bncSettings settings;
    128   int useTrace = (Qt::CheckState(settings.value("mapWinTrace").toInt()) == Qt::Checked) ? 1 : 0;
    129   QString location = QString("%1, %2, %3").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(useTrace);
     128//int useTrace = (Qt::CheckState(settings.value("mapWinTrace").toInt()) == Qt::Checked) ? 1 : 0;
     129  int mapWinDotSize = settings.value("mapWinDotSize").toInt();
     130//QString location = QString("%1, %2, %3").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(useTrace);
     131  QString location = QString("%1, %2, %3").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(mapWinDotSize);
    130132  _webView->page()->mainFrame()->evaluateJavaScript(QString("initialize( %1 )").arg(location));
    131133}
Note: See TracChangeset for help on using the changeset viewer.