[OpenLayers-Users] Issue with large zoom level increase in Chrome

Martin Davis mtnclimb at gmail.com
Fri Dec 4 10:20:06 PST 2015


Good news on this.  I just updated to Chrome Version 47.0.2526.73 m, and
the zoom issue no longer appears.

On Tue, Dec 1, 2015 at 1:25 PM, Martin Davis <mtnclimb at gmail.com> wrote:

> We've just noticed a fatal issue using OL2 in Chrome, when zooming in by
> large amount.  (This  happens when zooming to a very small extent, or when
> the user flicks the mouse wheel by a large amount).  The effect is that the
> Chrome process goes away for a while and then dies.
>
> The issue appears to be caused by the Grid tile backbuffer.  The new tile
> images for the zoom level are positioned by setting their offset position
> and size via the style properties.  For a large zoom these values are very
> large.  Chrome hangs when it sets the position top value [1].
>
> Interestingly this is not a problem in IE 10 - it handles the large
> position values, and completes the zoom with no problem.
>
> Anyone else noticed this?  Any ideas for a workaround or a code fix ?
>
> [1]
> https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Layer/Grid.js#L685
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20151204/5886a78b/attachment.html>


More information about the Users mailing list