Changeset 6446 in ntrip for trunk


Ignore:
Timestamp:
Dec 26, 2014, 1:26:56 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/map
Files:
2 edited

Legend:

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

    r5956 r6446  
    5959  connect(_webView, SIGNAL(loadFinished(bool)), this, SLOT(slotInitMap(bool)));
    6060
     61  // Plot Required Station
     62  // ---------------------
     63  bncSettings settings;
     64  _staID = settings.value("PPP/plotCoordinates").toByteArray();
     65
    6166  // Proxy Settings
    6267  // --------------
    63   bncSettings settings;
    6468  QString proxyHost = settings.value("proxyHost").toString();
    6569  int     proxyPort = settings.value("proxyPort").toInt();
     
    164168//
    165169////////////////////////////////////////////////////////////////////////////
    166 void bncMapWin::slotNewPosition(QByteArray /* staID */, bncTime /* time */, QVector<double> xx) {
     170void bncMapWin::slotNewPosition(QByteArray staID, bncTime /* time */, QVector<double> xx) {
     171  if (!_staID.isEmpty() && _staID != staID) {
     172    return;
     173  }
    167174  double ell[3];
    168175  xyz2ell(xx.data(), ell);
  • trunk/BNC/src/map/bncmapwin.h

    r6378 r6446  
    5353  void loadHtmlPage();
    5454  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;
    5960};
    6061
Note: See TracChangeset for help on using the changeset viewer.