Hi,

Try http://www.openlayers.org/dev/examples/highlight-feature.html 

This is the normal way of doing it, using two SelectFeature controls:
highlight and select (important!: on the same layers)

(note `report` function only shows a log using firebug. Chrome, IE9 and
Opera works removing `<script
src="../lib/dummy/firebug.js"></script>` and changing
`OpenLayers.Console.log(` by `console.log(`)


Baron wrote
> Hi all,
> How to add event like onMouseOver to OpenLayers.Layer.Vector?
> I just found 'featureselected' which is like onClick().





--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/How-to-add-event-like-onMouseOver-to-OpenLayers-Layer-Vector-tp5012424p5013835.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to