What about firing a 'beforegridinit' event or something like that, which fires before running the OpenLayers.Layer.Grid.initGriddedTiles function You could manipulate the layer's maxExtent at that point just before the grid setup occurred.
Another option, not requiring the creation of any new event types, would be to overwrite the getTileOrigin or getMaxExtent functions. getMaxExtent would make the most sense and is essentially a stub function anyway, just begging to be overwritten. Matt Priour -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/maxExtent-changes-with-zoomLevel-in-the-Grid-layer-tp6095079p6098638.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev