If an OpenLayers.Map is configured with the
featureEvents property set to true, events corresponding to mouse
interaction with features will be triggered on all vector layers.
See the
feature-events.js source for details on how this is done.
Details
- The "featureclick" event is triggered when a feature is
clicked.
- The "nofeatureclick" event is triggered when a click does
not hit any features on a layer.
- The "featureover" event is triggered when the mouse passes
over a feature.
- The "featureout" event is triggered when a mouse passes out
of a feature.
- These events are only triggered on visible vector layers.