If you want to switch between base layers (ie google, osm, bing, yandex or any other wms that is defined as base layer) use "setBaseLayer" method:
setBaseLayer: Allows user to specify one of the currently-loaded layers as the Map’s new base layer. http://dev.openlayers.org/apidocs/files/OpenLayers/Map-js.html -- View this message in context: http://osgeo-org.1560.n6.nabble.com/openlayer-2-10-and-google-layers-tp5028371p5028613.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
