Hi all,
How to add event like onMouseOver to OpenLayers.Layer.Vector?
I just found ‘featureselected’ which is like onClick().
Hi all,
How to add event like onMouseOver to OpenLayers.Layer.Vector?
I just found ‘featureselected’ which is like onClick().
You need to add SelectFeautre control to your map and set the highlightOnly and hover options to true on that control.
http://dev.openlayers.org/docs/files/OpenLayers/Control/SelectFeature-js.html
Hi Pawel,thx for the reply?do u have any examples?
Hi Pawel,thx for the help,i got it now:D