<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Adding the following line after adding all layers works for me:<br>
<br>
mapPanel.map.setBaseLayer(defaultBaseLayer); <br>
<br>
On 25/01/2011 10:36, ibrahim saricicek wrote:
<blockquote
cite="mid:AANLkTi=XQJx0B_P1A7qi-hd2m_wkbDZL2DXnCN+H-Ncy@mail.gmail.com"
type="cite">Hi All,<br>
<br>
In an application we have 3 base layers. <br>
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).<br>
<br>
But in GeoExt we couldn't "setBaseLayer". The lastly defined layer
in code becomes the base and list-end layer.<br>
<br>
Is there a way of defining layer order and base layer?<br>
<br>
Thanks in advance..<br>
<br>
Ibrahim Saricicek<br>
GIS Expert @ Mobiliz IT&Com.
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@geoext.org">Users@geoext.org</a>
<a class="moz-txt-link-freetext" href="http://www.geoext.org/cgi-bin/mailman/listinfo/users">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>