public static SharpMap.Map InitializeMap(float angle) { switch (_num++ % 6) { case 3: return(InitializeMapOsm()); case 4: return(InitializeMapBing(BruTile.Web.BingMapType.Roads)); case 5: return(InitializeMapBing(BruTile.Web.BingMapType.Aerial)); case 6: return(InitializeMapBing(BruTile.Web.BingMapType.Hybrid)); _num = 0; /* * case 7: * return InitializeMapGoogle(BruTile.Web.GoogleMapType.GoogleMap); * case 8: * return InitializeMapGoogle(BruTile.Web.GoogleMapType.GoogleSatellite); * case 9: * return InitializeMapGoogle(BruTile.Web.GoogleMapType.GoogleSatellite | BruTile.Web.GoogleMapType.GoogleLabels); * case 10: * return InitializeMapGoogle(BruTile.Web.GoogleMapType.GoogleTerrain); * case 11: * _num = 0; * return InitializeMapGoogle(BruTile.Web.GoogleMapType.GoogleLabels); */ case 0: _num++; return(InitializeMapOsmWithXls(angle)); //Does not work anymore! //return InitializeMapOsmWithVariableLayerCollection(angle); case 1: return(InitializeMapOsmWithXls(angle)); case 2: return(HeatLayerSample.InitializeMap(angle)); } return(InitializeMapOsm()); }