[OpenLayers-Users] OpenLayers 2.13-RC2 hangs in IE and Chrome on zooming/paning

Rune Madsen rm.at.jo at gmail.com
Fri May 31 05:07:59 PDT 2013


Hi

 

We have a customer who use IE10 and then we tried to upgrade the OpenLayers
to the new OpenLayers-2.13-RC2 to get around the grid bug in IE10. However
when zoom fast around in both IE9 and chrome (27.0.1453) using only the OSM
layer as baselayer the browser get stuck and we get the "long script
detected" dialog to kill the script. We have found at the inner most level.
Have anybody else seen this problem? I have not tested it in IE10.

 

We use the sample code to test with:

 

<!DOCTYPE html>

<html>

  <head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=0">

    <meta name="apple-mobile-web-app-capable" content="yes">

    <title>OpenLayers Basic OSM Example</title>

    <link rel="stylesheet"
href="lib/OpenLayers-2.13-rc2/theme/default/style.css" type="text/css">

    <script src="lib/OpenLayers-2.13-rc2/lib/OpenLayers.js"></script>

    <script type="text/javascript">

        var map, layer;

        function init(){

            map = new OpenLayers.Map({div: 'map' });

                                 layer = new OpenLayers.Layer.OSM("OSM",
null, {transitionEffect: null});

            map.addLayer(layer);

            map.zoomToMaxExtent();

        }

    </script>

  </head>

  <body onload="init()">

 

    <div id="map" style="width:800px;height:700px"></div>

 

  </body>

</html>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130531/7608b69d/attachment.html>


More information about the Users mailing list