[OpenLayers-Dev] Text Layer and loadstart
euzuro at gmail.com
Thu Aug 21 19:43:18 EDT 2008
I just looked in the code in trunk and this no longer seems to be the case....
Looks like this changeset got it:
Can you confirm?
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.
> Christopher Schmidt
> Dev mailing list
> Dev at openlayers.org
More information about the Dev