Ignore:
Timestamp:
Nov 10, 2020, 11:00:43 AM (3 years ago)
Author:
stuerze
Message:

pppMap now with OSM only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/map/bncmapwin.cpp

    r6446 r9235  
    3535 * Created:    08-Jun-2013
    3636 *
    37  * Changes:   
     37 * Changes:
    3838 *
    3939 * -----------------------------------------------------------------------*/
     
    7575  loadHtmlPage();
    7676
    77   _webView->show(); 
     77  _webView->show();
    7878
    7979  _statusLabel = new QLabel;
     
    9999}
    100100
    101 // 
     101//
    102102////////////////////////////////////////////////////////////////////////////
    103103void bncMapWin::loadHtmlPage() {
     
    106106
    107107  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");
    114109  if (!htmlFile.open(QFile::ReadOnly)) {
    115110    qDebug() << "bncMapWin:: cannot open html file";
     
    123118}
    124119
    125 // 
     120//
    126121////////////////////////////////////////////////////////////////////////////
    127122void bncMapWin::slotInitMap(bool isOk) {
     
    139134}
    140135
    141 // 
     136//
    142137////////////////////////////////////////////////////////////////////////////
    143138void bncMapWin::gotoLocation(double lat, double lon) {
     
    166161}
    167162
    168 // 
     163//
    169164////////////////////////////////////////////////////////////////////////////
    170165void bncMapWin::slotNewPosition(QByteArray staID, bncTime /* time */, QVector<double> xx) {
Note: See TracChangeset for help on using the changeset viewer.