On Thu, Mar 13, 2008 at 04:24:02PM +0000, Xin wrote: > Thanks for the quick reply. > > I would rather do it properly and use events. I couldn't anything in API > docs or examples. I had a look in feature-select and feature-select-popup.
Use events for what? I'm not understanding. The OpenLayers code doesn't listen for events for feature selection: the feature selection code calls functions (which then cause events). We don't live that deeply in an event-oriented framework that this makes sense, so I don't believe "do it properly" and "use events" are tied together here. Is your goal to cause a feature to become selected in the mind of the selectfeature control? Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
