Re: [OpenLayers-Users] combining handlers, or hover + select

2009-02-03 Thread Jesse V Griffis
Alexandre, Thanks so much! I like your highlighter, very nice - but the key was the layer.getFeatureFromEvent method that I didn't know existed. That does exactly what I need. Jesse On Tue, Feb 3, 2009 at 9:13 AM, Alexandre Dube wrote: > Hi Jesse, > > What I did to accomplish this is a custo

Re: [OpenLayers-Users] combining handlers, or hover + select

2009-02-03 Thread Alexandre Dube
Hi Jesse, What I did to accomplish this is a custom "HighlightFeature" control. You can have it and a SelectFeature at the same time. See an example : http://dev.openlayers.org/sandbox/adube/openlayers/examples/highlight-feature.html See an example with SelectFeature at the same time : http:/

Re: [OpenLayers-Users] combining handlers, or hover + select

2009-02-03 Thread Jesse V Griffis
Thanks Eric, I wasn't sure if dumping a bunch of code to the list would be useful. Essentially, I just copied the Hover Control from the example page (http://openlayers.org/dev/examples/hover-handler.html) and tried to copy the stuff from the SelectFeature Control (in the source). Testing it, I

Re: [OpenLayers-Users] combining handlers, or hover + select

2009-02-02 Thread Eric Lemoine
Hi It is hard to help you without seeing actual code. Feel free to come back to the list with your code. Cheers, Eric 2009/2/3, Jesse V Griffis : > Greetings, > > I can successfully use the hover examples to create a "Hover" Control > that uses the Hover handler to pop up info when you pause in

[OpenLayers-Users] combining handlers, or hover + select

2009-02-02 Thread Jesse V Griffis
Greetings, I can successfully use the hover examples to create a "Hover" Control that uses the Hover handler to pop up info when you pause in one place long enough. I can successfully use the SelectFeature Control to click and display info about Vectors. What I can't figure out is how to combine