Hi all,<br><br>This is a question I asked some times myself when using some OpenLayers features, and it raised again after reading Bart&#39;s post in GeoExt devs list (<a href="http://www.geoext.org/pipermail/dev/2010-November/000893.html">http://www.geoext.org/pipermail/dev/2010-November/000893.html</a>). There are some classes that trigger some event (of some types) when some things occur (e.g. the SelectFeature control triggers, for instance, <b>featurehighlighted</b> event). Other (or same) classes provide the user with functions he can write and they will be executed also when some things occur (e.g. the same SelectFeature control, the <b>onSelect</b> function). So far I didn&#39;t find a duplicate use case, but I understand those are 2 different ways to do the same thing (maybe the order your code is executed is determined in a different way). Are they almost the same or is there a way preferred? Maybe, if that&#39;s the case, this could be reconsidered in OpenLayers 3<br>
<br clear="all">Best regards, <br><br>Xurxo Méndez Pérez<br><br><a href="http://www.sonxurxo.com/" target="_blank">http://www.sonxurxo.com</a><br>