<br><font size=3>Hi,</font>
<br><font size=3>I use a geoext map panel inside a extjs panel.</font>
<br><font size=3>If I scroll within the extjs panel the coordinates on
the map are off by the distance I scrolled. Per example, after scrolling
if I want to use a wmsgetfeatureinfo I need to click outside the map to
get a feature.....</font>
<br><font size=3>I think I should call map.updateSize(); when finished
scrolling. I tryed without success to catch a scroll event. Here is how
I do it.</font>
<br><font size=3>How should I do that please?</font>
<br><font size=3>thanks </font>
<br><font size=3>Steve</font>
<br><font size=3> </font>
<br>
<br><font size=3>{ <br>
region:'east',<br>
xtype: 'panel',<br>
margins: '5 5 5 0',<br>
width: 400,<br>
title: "Statut de la veille météorologique",<br>
collapsible: true,<br>
autoScroll: true,<br>
listeners: <br>
{<br>
'scroll': function()<br>
{ <br>
alert("scrolling");<br>
map.updateSize();<br>
}<br>
},<br>
items: <br>
[<br>
{<br>
xtype: 'gx_mappanel',</font>
<br><font size=3> layout: 'fit',<br>
map: map,<br>
height: 400,<br>
width: 400,<br>
border: true,<br>
center: new OpenLayers.LonLat(point.x,
point.y),<br>
zoom: 5<br>
},<br>
{<br>
contentEl:'divMapAvertissements',<br>
border: false<br>
} <br>
]<br>
}</font>
<p>
<br>
<br>