<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    I think i found a bug in the zoomTo Method of the map, while
    investigating an issue in geoext 2 (
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    <a href="https://github.com/geoext/geoext2/issues/205">https://github.com/geoext/geoext2/issues/205</a>).<br>
    The problem seems to be introduced since OL 2.13 and is also
    occuring in 2.13.1:<br>
    <br>
    When you zoom the map with the zoomTo Method multiple times in a
    row, the result will be confusing.<br>
    To be exact, it will not be the last zoomValue you have given to the
    method, instead it will become e.g. 0.<br>
    <br>
    Here is the simple code which i used to test the behaviour:<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    m = map;<br>
    m.zoomTo(1);<br>
    m.zoomTo(2);<br>
    m.zoomTo(3);<br>
    m.zoomTo(4);<br>
    m.zoomTo(5);<br>
    m.getZoom();<br>
    <br>
    The result of the last line should return a value of 5. But since OL
    2.13, it returns 0 or some other non-correct value.<br>
    I checked this with the official examples of OL 2.12, 2.13 and
    2.13.1:<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    <a
href="http://dev.openlayers.org/releases/OpenLayers-2.12/examples/all-overlays.html">http://dev.openlayers.org/releases/OpenLayers-2.12/examples/all-overlays.html</a><br>
    <br>
    In 2.12, everything works as expected, but in<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    <a
href="http://dev.openlayers.org/releases/OpenLayers-2.13/examples/all-overlays.html">http://dev.openlayers.org/releases/OpenLayers-2.13/examples/all-overlays.html</a><br>
    <br>
    or<br>
    <br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    <a
href="http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/all-overlays.html">http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/all-overlays.html</a><br>
    <br>
    it does not, like described above.<br>
    A first finding is that when you use "zoomMethod: null" on map
    instanciation, the problem disappears. So this bug could have
    something todo with the "
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-15">
    zoomTween" on the map. Maybe someone could have a detailed look at
    this?<br>
    <br>
    Best regards,<br>
    <br>
    Johannes Weskamm<br>
  </body>
</html>