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

Nicholas Efremov-Kendall n.e.kendall at gmail.com
Fri Jun 17 15:34:42 EDT 2011


set the isbaselayer property to true

On Fri, Jun 17, 2011 at 10:32 AM, JK Chen <jk.chen at sdl.usu.edu> wrote:

>  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****
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110617/11957d67/attachment-0001.html


More information about the Users mailing list