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


Ignore:
Timestamp:
Dec 26, 2014, 1:26:56 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 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);
Note: See TracChangeset for help on using the changeset viewer.