[OpenLayers-Users] Errors with maxGetUrlLength layers after some navigation

Andreas Hocevar ahocevar at opengeo.org
Thu Nov 10 10:46:05 EST 2011


Hi,

is it possible for you to upgrade to the latest OpenLayers version from github? Most of the tiling code was rewritten after 2.11, and this issue should be gone.

Andreas.

On Nov 10, 2011, at 16:31 , jose morell wrote:

> Hi list,
> 
> I'm loading a wms layer with the tileOptions: {maxGetUrlLength: 2048} because I'm working with long styles for the layer.
> 
> I'm working with OpenLayers-2.11.
> 
> Firsts zooms work fine, but after some zoom ins and zoom outs, I'm getting this js error:
> 
> Uncaught TypeError: Cannot read property '_eventCacheID' of null: Events.js:267
> OpenLayers.Event.stopObservingElementEvents.js:267
> OpenLayers.Tile.Image.IFrame.clearIFrame.js:40
> OpenLayers.Tile.OpenLayers.Class.drawTile.js:191
> OpenLayers.Tile.Image.OpenLayers.Class.drawImage.js:184
> OpenLayers.Layer.Grid.OpenLayers.Class.spiralTileLoadGrid.js:626
> OpenLayers.Layer.Grid.OpenLayers.Class.initGriddedTilesGrid.js:544
> OpenLayers.Layer.Grid.OpenLayers.Class.moveToGrid.js:252
> OpenLayers.Map.OpenLayers.Class.moveToMap.js:1874
> OpenLayers.Map.OpenLayers.Class.setCenterMap.js:1662
> OpenLayers.Map.OpenLayers.Class.zoomToMap.js:2217
> OpenLayers.Map.OpenLayers.Class.zoomInMap.js:2226
> OpenLayers.Control.PanZoom.OpenLayers.Class.buttonDownPanZoom.js:220
> (anonymous function)BaseTypes.js:427
> 
> Apart from that, I'm getting this warning for each tile from this layer:
> 
> Resource interpreted as Other but transferred with MIME type undefined.
> 
> 
> Any idea about this?
> 
> Jose
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list