[OpenLayers-Users] changing Base layers
Christopher Schmidt
crschmidt at metacarta.com
Mon Oct 29 20:54:30 EDT 2007
On Tue, Oct 30, 2007 at 10:05:40AM +1100, bradleyspencer wrote:
> List,
>
> Has anybody needed to do this?
>
> I want to remove the Layerswitcher all together from my map and place
> controls on outside of the map.
>
> If I had my own radio buttons outside of map for the available base map
> options, is there a standard method to activate the change in base map?
Hm, let's see, a function to change the base layer of the map object...
http://dev.openlayers.org/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.setBaseLayer
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Users
mailing list