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

jose morell jose.morell.at.openlayers at gmail.com
Tue Nov 15 02:40:07 EST 2011


Hi,

Problem solved. Revision 4922 of OpenLayers works fine with POST layers.


Thanks a lot.

Jose


On Thu, Nov 10, 2011 at 4:46 PM, Andreas Hocevar <ahocevar at opengeo.org>wrote:

> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111115/203aeda4/attachment.html


More information about the Users mailing list