Changeset 9235 in ntrip for branches/BNC_2.12/src/map
- Timestamp:
- Nov 10, 2020, 11:00:43 AM (4 years ago)
- Location:
- branches/BNC_2.12/src/map
- Files:
-
- 2 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/map/bncmapwin.cpp
r6446 r9235 35 35 * Created: 08-Jun-2013 36 36 * 37 * Changes: 37 * Changes: 38 38 * 39 39 * -----------------------------------------------------------------------*/ … … 75 75 loadHtmlPage(); 76 76 77 _webView->show(); 77 _webView->show(); 78 78 79 79 _statusLabel = new QLabel; … … 99 99 } 100 100 101 // 101 // 102 102 //////////////////////////////////////////////////////////////////////////// 103 103 void bncMapWin::loadHtmlPage() { … … 106 106 107 107 QFile htmlFile; 108 if (settings.value("PPP/useOpenStreetMap").toBool()) { 109 htmlFile.setFileName(":/map/map_osm.html"); 110 } 111 else { 112 htmlFile.setFileName(":/map/map_gm.html"); 113 } 108 htmlFile.setFileName(":/map/map_osm.html"); 114 109 if (!htmlFile.open(QFile::ReadOnly)) { 115 110 qDebug() << "bncMapWin:: cannot open html file"; … … 123 118 } 124 119 125 // 120 // 126 121 //////////////////////////////////////////////////////////////////////////// 127 122 void bncMapWin::slotInitMap(bool isOk) { … … 139 134 } 140 135 141 // 136 // 142 137 //////////////////////////////////////////////////////////////////////////// 143 138 void bncMapWin::gotoLocation(double lat, double lon) { … … 166 161 } 167 162 168 // 163 // 169 164 //////////////////////////////////////////////////////////////////////////// 170 165 void bncMapWin::slotNewPosition(QByteArray staID, bncTime /* time */, QVector<double> xx) {
Note:
See TracChangeset
for help on using the changeset viewer.