This workaround worked great. Thanks for the help. Christopher Schmidt wrote: > On Thu, Apr 17, 2008 at 08:54:06AM -0700, Emily Gouge wrote: >> Previously we were using the tileloaded event to inform users of how >> many tiles were remaining to be loaded. Has this event changed in >> OpenLayers 2.6? Is there some other event or method I should be using >> to provide a similar status to users? > > This is a bug/regression, created by > http://trac.openlayers.org/changeset/6832/trunk/openlayers/lib/OpenLayers/Events.js > . > > While we work out the correct resolution to this issue, you can use the > following workaround: > > Pass an "EVENT_TYPES" property to Layer options, as such: > > buffer = new OpenLayers.Layer.WMS( "WMS Buffer 0", > "http://labs.metacarta.com/wms/vmap0", > {layers: 'basic'} , > {EVENT_TYPES:["loadstart", "loadend", "loadcancel", > "visibilitychanged","tileloaded"]} > ); > > Note the inclusion of the 'tileloaded' event. > > I'm sorry about this regression. > > Regards,
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
