<font size="2">Hi folks,</font><div><font size="2"><br></font></div><div><font size="2">I have 2 divs. One is a panel and the other is the map.</font></div><div>The panel slides to the left of my screen and gets hidden. So the map occupies the entire screen width.</div>
<div><br></div><div>If both divs are position one next to the other, every time the panel slides (opening &amp; closing) map div gets resized. </div><div>Since I dont like the effect it causes I made by div panel to lay on top of the map and not next to it. So every time the panel gets hidden or shown, map doesnt change at all.</div>
<div><br></div><div>This comes with a cost. When I do =&gt; map.setCenter(x,y) I would like to have it centered to the &quot;visible center&quot; of the map.</div><div>So when the panel is visible, the center should be shifted to x pixels to the right.</div>
<div><br></div><div>So basically, what I am  looking for is to shift coords xpixels to the right.</div><div>Ideally it should work to with zoomToExtent.</div><div><br></div><div>Is it confusing ? How should I do this ?</div>
<div><br></div><div><br></div><div>warm regards.</div><div><br></div><div><br></div><div>Ricardo</div><div><br></div><div><br></div>