<div>Hey everyone,</div>
<div> </div>
<div>For a project we&#39;re working on a user can save a map (extents, wms layers, vectors, etc) and then come back during a later session and reload that map.</div>
<div> </div>
<div>But we&#39;ve noticed a small bug/feature in OL concerning the saving and reloading of map extents.</div>
<div> </div>
<div>If you run this in Firebug you&#39;ll see what I mean:</div>
<div> </div>
<div>blah = map.getExtent();<br>map.zoomToExtent(blah);</div>
<div> </div>
<div>Most of the time it seems when running the above code the map will zoom out one step from what is currently displayed on the screen. So, for example, if the map is at zoom level 7 when you call getExtent() then the map will be at zoom level 6 after calling zoomToExtent().  From the end users perspective this appears as a bug in our site.  </div>

<div> </div>
<div>Is this by design?  Is there a way to &quot;fix&quot; this?  I know that we could save the zoom level and map center, but this would require a db schema change on our end and for users with different screen sizes we do want the map to zoom to the given extent.</div>

<div> </div>
<div>Cheers,</div>
<div>Alexei</div>