[Users] Base Layer and Layer Order

geographika geographika at gmail.com
Tue Jan 25 10:45:41 CET 2011


Adding the following line after adding all layers works for me:

mapPanel.map.setBaseLayer(defaultBaseLayer);

On 25/01/2011 10:36, ibrahim saricicek wrote:
> Hi All,
>
> In an application we have 3 base layers.
> Users choose and save the base layer and the next time for that user 
> base layer becomes the previously chosen one (it's ok for Openlayers).
>
> But in GeoExt we couldn't "setBaseLayer". The lastly defined layer in 
> code becomes the base and list-end layer.
>
> Is there a way of defining layer order and base layer?
>
> Thanks in advance..
>
> Ibrahim Saricicek
> GIS Expert @ Mobiliz IT&Com.
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110125/83009cfb/attachment.htm 


More information about the Users mailing list