Changeset 5323 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jul 15, 2013, 2:38:06 PM (9 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/map
Files:
3 edited

Legend:

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

    r5321 r5323  
    5858  _webView = new QWebView(this);
    5959  connect(_webView, SIGNAL(loadFinished(bool)), this, SLOT(slotInitMap(bool)));
    60 
    61   MyWebPage* webPage = new MyWebPage();
    62   _webView->setPage(webPage);
    6360
    6461  // Proxy Settings
  • trunk/BNC/src/map/bncmapwin.h

    r5321 r5323  
    5858};
    5959
    60 class MyWebPage : public QWebPage {
    61  Q_OBJECT
    62  protected:
    63   virtual QString userAgentForUrl(const QUrl &url) const {
    64     return QString::fromUtf8("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8) Gecko/20100101 Firefox/4.0b8");
    65   }
    66 };
    67 
    6860#endif
  • trunk/BNC/src/map/map_gm.html

    r5322 r5323  
    2727          center:     new google.maps.LatLng(lat, lon),
    2828          zoom:       3,
     29          mapTypeId:  google.maps.MapTypeId.SATELLITE,
    2930          panControl: true
    3031        };
Note: See TracChangeset for help on using the changeset viewer.