Ok thanks for the answers. I thing I will try to make it by destroying the map and constructing all the objects again with the different projection and different maxExtent.
Thanks again! 2008/3/27, Eric Lemoine <[EMAIL PROTECTED]>: > > On Thu, Mar 27, 2008 at 12:46 PM, Christopher Schmidt > <[EMAIL PROTECTED]> wrote: > > On Thu, Mar 27, 2008 at 12:44:56PM +0100, Juan G wrote: > > > Hello everybody! > > > > > > Is there a good-elegant way to cancel a layer while it´s loading? I > ´ve > > > searched from the source code and I saw there is a "loadcancel" event > in the > > > Layer class, but I couldn´t find where is triggered. > > > > > > I need a "cancel" button for stopping loading layers that are loading > at > > > that moment, hence I need to know that issue. > > > > OpenLayers has no such functionality. It is likely *not* possible, > since > > browsers don't appear to have any kind of sane cancel/abort operation: > > I've never gotten a cancel call to actually stop the loading. However, > > I haven't spent that much time on it: it might be possible, but > > OpenLayers doesn't do it. > > > I did a bit of investigation on that a couple months ago. I found no > way to achieve it. > > -- > > Eric > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > -- Un saludo, Juan Gonzalez del Pino
_______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
