Index: trunk/BNC/src/map/bncmapwin.cpp
===================================================================
--- trunk/BNC/src/map/bncmapwin.cpp	(revision 5227)
+++ trunk/BNC/src/map/bncmapwin.cpp	(revision 5228)
@@ -62,19 +62,15 @@
   _webView->show();  
 
-  // Test
-  // ----
-  _mode = mode_ppp;
-  _testButton = new QPushButton(tr("Start Test"));
-  _testButton->setMaximumWidth(10*ww);
-  connect(_testButton,  SIGNAL(clicked()), this, SLOT(slotTest()));
+  _statusLabel = new QLabel;
 
   // Layout
   // ------
-  QHBoxLayout* buttonLayout = new QHBoxLayout;
-  buttonLayout->addWidget(_testButton);
+
+  QHBoxLayout* statusLayout = new QHBoxLayout;
+  statusLayout->addWidget(_statusLabel);
 
   QVBoxLayout* mainLayout = new QVBoxLayout(this);
   mainLayout->addWidget(_webView);
-  mainLayout->addLayout(buttonLayout);
+  mainLayout->addLayout(statusLayout);
 
   setLayout(mainLayout);
@@ -121,29 +117,6 @@
   _currLon = lon;
   QString location = QString("%1, %2").arg(_currLat,0,'f',8).arg(_currLon,0,'f',8);
+  _statusLabel->setText(location);
   _webView->page()->mainFrame()->evaluateJavaScript(QString("gotoLocation( %1 )").arg(location));
-}
-
-// 
-////////////////////////////////////////////////////////////////////////////
-void bncMapWin::slotTest() {
-
-  if (sender() == _testButton) {
-    if (_mode == mode_ppp) {
-      _mode = mode_test;
-      _testButton->setText(tr("Stop Test"));
-    }
-    else {
-      _mode = mode_ppp;
-      _testButton->setText(tr("Start Test"));
-      return;
-    }
-  }
-   
-  if (_mode == mode_test) {
-    _currLat += 0.00001;
-    _currLon += 0.00001;
-    gotoLocation(_currLat, _currLon);
-    QTimer::singleShot(100, this, SLOT(slotTest()));
-  }
 }
 
Index: trunk/BNC/src/map/bncmapwin.h
===================================================================
--- trunk/BNC/src/map/bncmapwin.h	(revision 5227)
+++ trunk/BNC/src/map/bncmapwin.h	(revision 5228)
@@ -44,15 +44,12 @@
  private slots:
   void slotInitMap(bool isOk);
-  void slotTest();
 
  private:
-  enum e_mode {mode_test, mode_ppp};
   void loadHtmlPage();
   void gotoLocation(double lat, double lon);
-  QWebView*    _webView;
-  QPushButton* _testButton;
-  double       _currLat;
-  double       _currLon;
-  e_mode       _mode;
+  QWebView* _webView;
+  QLabel*   _statusLabel;
+  double    _currLat;
+  double    _currLon;
 };
 
