Changeset 5176 in ntrip


Ignore:
Timestamp:
Jun 8, 2013, 12:58:49 PM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5175 r5176  
    9494  double lat = 50.090956; // BKG
    9595  double lon =  8.663283; // BKG
    96   QString location = QString("%1, %2").arg(lat).arg(lon);
     96  QString location = QString("%1, %2").arg(lat,0,'f',8).arg(lon,0,'f',8);
    9797  _webView->page()->mainFrame()->evaluateJavaScript(QString("initialize( %1 )").arg(location));
    9898
    9999  //// beg test
    100100  for (unsigned ii = 1; ii < 100; ii++) {
    101 
     101    double latHlp = lat + ii / 10000.0;
     102    double lonHlp = lon + ii / 10000.0;
     103    QString locationHlp = QString("%1, %2").arg(latHlp,0,'f',8).arg(lonHlp,0,'f',8);
    102104  }
    103105  //// end test
Note: See TracChangeset for help on using the changeset viewer.