[OpenLayers-Dev] Text Layer and loadstart

Erik Uzureau euzuro at gmail.com
Thu Aug 21 19:43:18 EDT 2008


Bart, Chris,

I just looked in the code in trunk and this no longer seems to be the case....
Looks like this changeset got it:
http://trac.openlayers.org/changeset/5828#file2

Can you confirm?

Erik

On Wed, Dec 19, 2007 at 9:54 AM, Christopher Schmidt
<crschmidt at metacarta.com> wrote:
> On Wed, Dec 19, 2007 at 09:51:25AM +0100, Bart van den Eijnden (OSGIS) wrote:
>> Hi list,
>>
>> with the current code it seems impossible to listen to a loadstart event on
>> the Text Layer, since it already fires this event in the constructor.
>>
>> Or am I missing something?
>
> Nope. That's a bug. The load should not actually be started in
> initialize: instead, it should be started in moveTo, if it's not yet
> loaded. Layer.GML does this, Layer.GeoRSS and Layer.Text do not. A patch
> for this would be great. Please open a ticket -- if you plan to work on
> it, or work with someone else on it, pleaes put it in 2.6 and I'll
> review when it's completed.
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>



More information about the Dev mailing list