Deprecate Bing Map

Remove Bing code
Make OSM the default map type and use it for existing Bing maps
Fix #2717
This commit is contained in:
Ale Martinez
2018-03-10 10:14:19 -03:00
parent a57766fdcd
commit 2af9db0f66
3 changed files with 4 additions and 172 deletions

View File

@@ -235,9 +235,9 @@ GcWindowRegistry::newGcWindow(GcWinID id, Context *context)
#endif
// old maps (GoogleMap and BingMap) replaced by RideMapWindow
case GcWindowTypes::GoogleMap: id=GcWindowTypes::RideMapWindow; returning = new RideMapWindow(context, RideMapWindow::GOOGLE); break; // new GoogleMapControl(context);
case GcWindowTypes::BingMap: id=GcWindowTypes::RideMapWindow; returning = new RideMapWindow(context, RideMapWindow::BING); break; //returning = new BingMap(context);
case GcWindowTypes::BingMap: id=GcWindowTypes::RideMapWindow; returning = new RideMapWindow(context, RideMapWindow::OSM); break; //returning = new BingMap(context);
case GcWindowTypes::RideMapWindow: returning = new RideMapWindow(context, RideMapWindow::BING); break;
case GcWindowTypes::RideMapWindow: returning = new RideMapWindow(context, RideMapWindow::OSM); break; // Deprecated Bing, default to OSM
case GcWindowTypes::ActivityNavigator: returning = new RideNavigator(context); break;
case GcWindowTypes::WorkoutWindow: returning = new WorkoutWindow(context); break;