RideMapWindow : comments in GcWindowRegistry

This commit is contained in:
grauser
2016-05-31 23:01:08 +02:00
parent a25c414e01
commit f2e13bc391

View File

@@ -224,10 +224,10 @@ GcWindowRegistry::newGcWindow(GcWinID id, Context *context)
case GcWindowTypes::MapWindow: returning = new MapWindow(context); break;
case GcWindowTypes::StreetViewWindow: returning = new StreetViewWindow(context); break;
#endif
//case GcWindowTypes::GoogleMap: returning = new GoogleMapControl(context); break;
//case GcWindowTypes::BingMap: returning = new BingMap(context); break;
// 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::RideMapWindow: returning = new RideMapWindow(context, RideMapWindow::BING); break;
case GcWindowTypes::ActivityNavigator: returning = new RideNavigator(context); break;