I’m using OpenLayers map in my project,I’m displaying list of items on map.Whenever user clicks on item(feature) then item description will be popup instead of onClick,I want to convert to hover.To do this where I need to modify ?
I’m using OpenLayers map in my project,I’m displaying list of items on map.Whenever user
Share
I’m not sure where you need to modify as you have not provided your code. However below is a snippet taken from the OpenLayers example found here.
so i would hazard a guess that you will need to simply add the line
hover: trueto your SelectFeature config, to fully select you could remove the linehighlightOnly: trueor change it to false. Also your report function would have your code for displaying a popup.again, not sure this is what you need to do, if you post your code it will be easier to help.
Olly