Ticket #1747 (closed bug: fixed)
Layer.GML has some problems with load events
| Reported by: | bartvde | Owned by: | crschmidt |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.8 Release |
| Component: | Layer.GML | Version: | 2.6 |
| Keywords: | Cc: | ||
| State: | Complete |
Description (last modified by tschaub) (diff)
Btw there is no Layer.GML Trac component.
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@address-obscured>: > > 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 > >
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

