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
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users