[OpenLayers-Dev] Layer GML and load events
Eric Lemoine
eric.c2c at gmail.com
Mon Sep 1 16:02:20 EDT 2008
Hi Bart. Here's my (late) response: I think you're right, it'd be
better to have loadGML trigger the loadstart event. Maybe a ticket
should be open for this. Thanks. Eric
2008/8/26, Bart van den Eijnden (OSGIS) <bartvde at osgis.nl>:
> Hi list,
>
> http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Layer/GML.js
>
> Any reason why the loadstart event is not trigger in the loadGML
> function itself?
>
> Now it is triggered in moveTo, setURL but for instance not in
> setVisibility before the loadGML call.
>
> Would it not be better to move the event to the loadGML function, and
> specifically inside the if block?
>
> If I read the current code correctly, if the layer is already loaded,
> won't it fire a loadstart but not a loadend?
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> bartvde at osgis.nl
> http://www.osgis.nl
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>
More information about the Dev
mailing list