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


Ignore:
Timestamp:
Jun 9, 2013, 10:58:15 AM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5187 r5188  
    2929 * Class:      bncMapWin
    3030 *
    31  * Purpose:    Displays the help
     31 * Purpose:    Displays the Google Map
    3232 *
    3333 * Author:     L. Mervart
     
    4040
    4141#include "map/bncmapwin.h"
     42#include "bncutils.h"
    4243
    4344// Constructor
     
    149150//
    150151////////////////////////////////////////////////////////////////////////////
    151 void bncMapWin::slotNewPosition(bncTime time, double xx, double yy, double zz) {
    152 
     152void bncMapWin::slotNewPosition(bncTime /* time */, double xx, double yy, double zz) {
     153  double xyz[3];
     154  xyz[0] = xx;
     155  xyz[1] = yy;
     156  xyz[2] = zz;
     157  double ell[3];
     158  xyz2ell(xyz, ell);
     159  gotoLocation(ell[0]*180.0/M_PI, ell[1]*180.0/M_PI);
    153160}
Note: See TracChangeset for help on using the changeset viewer.