[OpenLayers-Users] openlayer 2.10 and google layers

Sergeant_york electronicpanda at gmail.com
Sun Jan 20 21:15:56 PST 2013


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.


More information about the Users mailing list