Yup sure did:<br><br>//Map properties<br> var options = {<br> controls: [new OpenLayers.Control.Navigation()], //Needed to use GeoExt controls such as the zoomslider<br> maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34),<br>
units: 'm',<br> allOverlays: false //Do not display all layers on load<br> }<br><br> var map = new OpenLayers.Map(options);<br><br>But thanks for the feedback! I just tried the ExtJS-3.3.1 release and still I am having the same problem :(<br>
<br>Seems like a ExtJs-3.3.X problem when used with GeoExt ...<br><br>Thank you,<br><br>elshae<br><br><div class="gmail_quote">On Tue, Jan 25, 2011 at 12:21 PM, Matt Priour <span dir="ltr"><<a href="mailto:mpriour@kestrelcomputer.com">mpriour@kestrelcomputer.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="padding-right: 10px; padding-left: 10px; padding-top: 15px;" name="Compose message area">
<div><font face="Arial" size="2">did you include 'allOverlays:false' in the
configuration options for your map?</font></div>
<div><font face="Arial" size="2">If not try that first.</font></div>
<div><font face="Arial" size="2">Matt Priour</font></div>
<div style="font: 10pt Tahoma;">
<div><br></div>
<div style="background: none repeat scroll 0% 0% rgb(245, 245, 245);">
<div><b>From:</b> <a title="itintern12@gmail.com" href="mailto:itintern12@gmail.com" target="_blank">IT Intern</a> </div>
<div><b>Sent:</b> Tuesday, January 25, 2011 11:08 AM</div>
<div><b>To:</b> <a title="users@geoext.org" href="mailto:users@geoext.org" target="_blank">users@geoext.org</a> </div>
<div><b>Subject:</b> Re: [Users] Base Layers No Longer Switch</div></div></div><div><div></div><div class="h5">
<div><br></div>Actually it seems like the real problem is ExtJS-3.3.0 in this
case...which is really bad for me as I am depending on it for certain methods
not included in ExtJS-3.2.1 D:<br><br>
<div class="gmail_quote">On Tue, Jan 25, 2011 at 11:58 AM, IT Intern <span dir="ltr"><<a href="mailto:itintern12@gmail.com" target="_blank">itintern12@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="padding-left: 1ex; margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);">Hello
GeoExt List,<br><br>I had been using GeoExtJS 0.7 and Ext-3.2.1 to create a
map. Everything was going fine and I recently upgraded both libraries,
GeoExtJS to 1.0 and ExtJS to 3.3.0. Now it seems the upgrade is relevant
to this, as when I switch back to ExtJS 3.2.1 or just switch back to GeoExtJS
0.7, my base layers are always able to switch as the user clicks away at the
radio buttons in the base layer container. Otherwise with GeoExtJS 1.0
& ExtJS 3.3.0 as a team the layers have stopped switching. Whatever
base layer has loaded is the one that stays and even if the buttons are
switched in the layer container it just does no good. Has anyone else
experienced this? Any ideas? Seems like it's not a common issue as
Googling did not give me any results pertaining to this problem :(<br><br>I
really do not want to go back to ExtJS 3.2.1 as I am already using features in
ExtJS 3.3.0...<br><br>Below is the code for my base layers, root node, base
layer container and tree panel:<br><br>/*************BASE
LAYERS****************/<br><br>
var ghyb = new
OpenLayers.Layer.Google(<br>
"Google
Hybrid",<br>
{type:
google.maps.MapTypeId.HYBRID}<br>
);<br><br>
var gmap = new
OpenLayers.Layer.Google(<br>
"Google Streets", //
the default<br>
{type:
google.maps.MapTypeId.ROADMAP}<br>
);<br><br>
var gphy = new
OpenLayers.Layer.Google(<br>
"Google
Physical",<br>
{type:
google.maps.MapTypeId.TERRAIN}<br>
);<br>
<br>
var osm = new OpenLayers.Layer.OSM();<br><br>//Add the base
layers<br>
map.addLayers([osm, gphy, gmap, ghyb]);<br><br>layerRoot = new
Ext.tree.TreeNode({<br>
id: 'Root',<br>
text: "All
Layers",<br>
expanded: true<br>
});<br><br>
layerRoot.appendChild(new
GeoExt.tree.BaseLayerContainer({<br>
text: "Base
Layers",<br>
map: map,<br>
layerStore:
mapPanel.layers,<br>
expanded: true<br>
}));<br><br>Thank you so much for your
time,<br><br>elshae<br>
<br></blockquote></div><br>
</div></div><p>
</p><hr>
<p></p>_______________________________________________<br>Users mailing
list<br><a href="mailto:Users@geoext.org" target="_blank">Users@geoext.org</a><br><a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
</div>
</blockquote></div><br>