- Timestamp:
- Dec 26, 2014, 1:26:56 PM (10 years ago)
- Location:
- trunk/BNC/src/map
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/bncmapwin.cpp
r5956 r6446 59 59 connect(_webView, SIGNAL(loadFinished(bool)), this, SLOT(slotInitMap(bool))); 60 60 61 // Plot Required Station 62 // --------------------- 63 bncSettings settings; 64 _staID = settings.value("PPP/plotCoordinates").toByteArray(); 65 61 66 // Proxy Settings 62 67 // -------------- 63 bncSettings settings;64 68 QString proxyHost = settings.value("proxyHost").toString(); 65 69 int proxyPort = settings.value("proxyPort").toInt(); … … 164 168 // 165 169 //////////////////////////////////////////////////////////////////////////// 166 void bncMapWin::slotNewPosition(QByteArray /* staID */, bncTime /* time */, QVector<double> xx) { 170 void bncMapWin::slotNewPosition(QByteArray staID, bncTime /* time */, QVector<double> xx) { 171 if (!_staID.isEmpty() && _staID != staID) { 172 return; 173 } 167 174 double ell[3]; 168 175 xyz2ell(xx.data(), ell); -
trunk/BNC/src/map/bncmapwin.h
r6378 r6446 53 53 void loadHtmlPage(); 54 54 void gotoLocation(double lat, double lon); 55 QWebView* _webView; 56 QLabel* _statusLabel; 57 double _currLat; 58 double _currLon; 55 QWebView* _webView; 56 QLabel* _statusLabel; 57 double _currLat; 58 double _currLon; 59 QByteArray _staID; 59 60 }; 60 61
Note:
See TracChangeset
for help on using the changeset viewer.