- Timestamp:
- Jun 29, 2013, 9:59:42 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/bncmapwin.cpp
r5296 r5305 126 126 } 127 127 bncSettings settings; 128 //int useTrace = (Qt::CheckState(settings.value("mapWinTrace").toInt()) == Qt::Checked) ? 1 : 0;129 128 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); 129 int mapWinDotColor = 1; 130 if (settings.value("mapWinDotColor").toString() == "yellow") { 131 mapWinDotColor = 2; 132 } 133 QString location = QString("%1, %2, %3, %4").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8).arg(mapWinDotSize).arg(mapWinDotColor); 132 134 _webView->page()->mainFrame()->evaluateJavaScript(QString("initialize( %1 )").arg(location)); 133 135 }
Note:
See TracChangeset
for help on using the changeset viewer.