Changeset 5323 in ntrip
- Timestamp:
- Jul 15, 2013, 2:38:06 PM (11 years ago)
- Location:
- trunk/BNC/src/map
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/bncmapwin.cpp
r5321 r5323 58 58 _webView = new QWebView(this); 59 59 connect(_webView, SIGNAL(loadFinished(bool)), this, SLOT(slotInitMap(bool))); 60 61 MyWebPage* webPage = new MyWebPage();62 _webView->setPage(webPage);63 60 64 61 // Proxy Settings -
trunk/BNC/src/map/bncmapwin.h
r5321 r5323 58 58 }; 59 59 60 class MyWebPage : public QWebPage {61 Q_OBJECT62 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 68 60 #endif -
trunk/BNC/src/map/map_gm.html
r5322 r5323 27 27 center: new google.maps.LatLng(lat, lon), 28 28 zoom: 3, 29 mapTypeId: google.maps.MapTypeId.SATELLITE, 29 30 panControl: true 30 31 };
Note:
See TracChangeset
for help on using the changeset viewer.