mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
RideMapWindow - Fix wiki link and add subdomain to OSM Tile Servers
This commit is contained in:
@@ -55,8 +55,6 @@ RideMapWindow::RideMapWindow(Context *context, int mapType) : GcChartWindow(cont
|
||||
|
||||
QWidget *settingsWidget = new QWidget(this);
|
||||
settingsWidget->setContentsMargins(0,0,0,0);
|
||||
//HelpWhatsThis *helpSettings = new HelpWhatsThis(settingsWidget);
|
||||
//settingsWidget->setWhatsThis(helpSettings->getWhatsThisText(HelpWhatsThis::ChartRides_Critical_MM_Config_Settings));
|
||||
|
||||
QFormLayout *commonLayout = new QFormLayout(settingsWidget);
|
||||
|
||||
@@ -218,7 +216,7 @@ RideMapWindow::setTileServerUrlForTileType(int x)
|
||||
ts = appsettings->cvalue(context->athlete->cyclist, GC_OSM_TS_DEFAULT, "").toString();
|
||||
// set/save the default if necessary
|
||||
if (ts.isEmpty()) {
|
||||
ts = "http://tile.openstreetmap.org";
|
||||
ts = "http://{s}.tile.openstreetmap.org";
|
||||
appsettings->setCValue(context->athlete->cyclist, GC_OSM_TS_DEFAULT, ts);
|
||||
}
|
||||
break;
|
||||
@@ -226,7 +224,7 @@ RideMapWindow::setTileServerUrlForTileType(int x)
|
||||
ts = appsettings->cvalue(context->athlete->cyclist, GC_OSM_TS_A, "").toString();
|
||||
// set/save some useful default if empty
|
||||
if (ts.isEmpty()) {
|
||||
ts = "http://tile.openstreetmap.de";
|
||||
ts = "http://{s}.tile.openstreetmap.de";
|
||||
appsettings->setCValue(context->athlete->cyclist, GC_OSM_TS_A, ts);
|
||||
}
|
||||
break;
|
||||
@@ -234,7 +232,7 @@ RideMapWindow::setTileServerUrlForTileType(int x)
|
||||
ts = appsettings->cvalue(context->athlete->cyclist, GC_OSM_TS_B, "").toString();
|
||||
// set/save some useful default if empty
|
||||
if (ts.isEmpty()) {
|
||||
ts = "http://a.tile.openstreetmap.fr/osmfr";
|
||||
ts = "http://{s}.tile.openstreetmap.fr/osmfr";
|
||||
appsettings->setCValue(context->athlete->cyclist, GC_OSM_TS_B, ts);
|
||||
}
|
||||
break;
|
||||
@@ -242,7 +240,7 @@ RideMapWindow::setTileServerUrlForTileType(int x)
|
||||
ts = appsettings->cvalue(context->athlete->cyclist, GC_OSM_TS_C, "").toString();
|
||||
// set/save some useful default if empty
|
||||
if (ts.isEmpty()) {
|
||||
ts = "https://tile.opentopomap.org";
|
||||
ts = "https://{s}.tile.opentopomap.org";
|
||||
appsettings->setCValue(context->athlete->cyclist, GC_OSM_TS_C, ts);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -235,7 +235,7 @@ HelpWhatsThis::getText(GCHelp chapter) {
|
||||
case ChartRides_HRvsPw:
|
||||
return text.arg("ChartTypes_Activities#heartrate-vs-power").arg(tr("Analysis of heartrate vs. power along the activity data"));
|
||||
case ChartRides_Map:
|
||||
return text.arg("ChartTypes_Activities#google-map--bing-map").arg(tr("Map of activity"));
|
||||
return text.arg("ChartTypes_Activities#map").arg(tr("Map of activity"));
|
||||
case ChartRides_2D:
|
||||
return text.arg("ChartTypes_Activities#2d-plot").arg(tr("Configurable 2D scatter plot of the current activity"));
|
||||
case ChartRides_3D:
|
||||
|
||||
Reference in New Issue
Block a user