Hi Tim, comments inline.
Tim Schaub schrieb: > I'm in favor of removing this cruft as well. > > To be clear, here are things that "work" currently: > > // myapp.js > > map.events.on({ > popupopen: myPopupOpenListener, > // and the rest > }); > > var openPopup = function() { > var pop = createPopup(); // defined elsewhere > pop.show(); > map.events.triggerEvent("popupopen", {popup: pop}); > } > > Currently, if application code makes use of the events listed below, the > corresponding event listeners get called appropriately. > > After removing these entries from the EVENT_TYPES array, these listeners > will not get called. > I proposed to remove them from the docs, not the EVENT_TYPES array. Any application having code like yours will continue to work. As for the release *after* 2.10, I'd suggest changing the array as well. BTW: I opened the ticket (it's #2553), see http://trac.openlayers.org/ticket/2553 Regards, Marc > Again, I'm fine with this. Just wanted to be clear that we are changing > the behavior of any applications that might be using these named events > (perhaps none). > > Tim > > [...] _______________________________________________ Dev mailing list Dev@openlayers.org http://openlayers.org/mailman/listinfo/dev