[OpenLayers-Users] How to programmatically choose one of the base layers to first display?

JK Chen jk.chen at sdl.usu.edu
Fri Jun 17 11:32:14 EDT 2011


My app has several base layers, including Googles, Yahoos, some WMS, all used as base layers.  They are added to map by AddLayers....
I want to be able to specify any layer to display when app starts up. Currently it always displays the first item is the AddLayers() statement.

Any idea of how to do this?

Thanks.

JK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110617/bf8e82d6/attachment.html


More information about the Users mailing list