<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6002.18332" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0
topMargin=0 CanvasTabStop="true" 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: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=itintern12@gmail.com
href="mailto:itintern12@gmail.com">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">users@geoext.org</A> </DIV>
<DIV><B>Subject:</B> Re: [Users] Base Layers No Longer Switch</DIV></DIV></DIV>
<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">itintern12@gmail.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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>
<P>
<HR>
<P></P>_______________________________________________<BR>Users mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></BODY></HTML>