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) <[EMAIL PROTECTED]>: > 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 > [EMAIL PROTECTED] > http://www.osgis.nl > > _______________________________________________ > Dev mailing list > [email protected] > http://openlayers.org/mailman/listinfo/dev > _______________________________________________ Dev mailing list [email protected] http://openlayers.org/mailman/listinfo/dev
